@@ -30,9 +30,9 @@ data Request = Request {
30 , rawPathInfo :: B.ByteString
30 , rawPathInfo :: B.ByteString
31 -- | If no query string was specified, this should be empty. This value
31 -- | If no query string was specified, this should be empty. This value
32 -- /will/ include the leading question mark.
32 -- /will/ include the leading question mark.
33− -- Do not modify this raw value- modify queryString instead.
33+ -- Do not modify this raw value - modify queryString instead.
34 , rawQueryString :: B.ByteString
34 , rawQueryString :: B.ByteString
35− -- | A list of header (a pair of key and value) in an HTTP request.
35+ -- | A list of headers (a pair of key and value) in an HTTP request.
36 , requestHeaders :: H.RequestHeaders
36 , requestHeaders :: H.RequestHeaders
37 -- | Was this request made over an SSL connection?
37 -- | Was this request made over an SSL connection?
@@ -40,17 +40,17 @@ data Request = Request {
40 -- this request over SSL, but rather whether the current connection is SSL.
40 -- this request over SSL, but rather whether the current connection is SSL.
41 -- The distinction lies with reverse proxies. In many cases, the client will
41 -- The distinction lies with reverse proxies. In many cases, the client will
42 -- connect to a load balancer over SSL, but connect to the WAI handler
42 -- connect to a load balancer over SSL, but connect to the WAI handler
43− -- without SSL. In such a case, @isSecure@ will be @False@, but from a user
43+ -- without SSL. In such a case, 'isSecure' will be 'False', but from a user
44 -- perspective, there is a secure connection.
44 -- perspective, there is a secure connection.
45 , isSecure :: Bool
45 , isSecure :: Bool
46 -- | The client\'s host information.
46 -- | The client\'s host information.
47 , remoteHost :: SockAddr
47 , remoteHost :: SockAddr
48− -- | Path info in individual pieces- the url without a hostname/port and
48+ -- | Path info in individual pieces - the URL without a hostname/port and
49 -- without a query string, split on forward slashes.
49 -- without a query string, split on forward slashes.
50 , pathInfo :: [Text]
50 , pathInfo :: [Text]
51− -- | Parsed query string information
51+ -- | Parsed query string information.
52 , queryString :: H.Query
52 , queryString :: H.Query
53− -- | Get the next chunk of the body. Returns an empty bytestring when the
53+ -- | Get the next chunk of the body. Returns 'B.empty' when the
54 -- body is fully consumed.
54 -- body is fully consumed.
55 , requestBody :: IO B.ByteString
55 , requestBody :: IO B.ByteString
56 -- | A location for arbitrary data to be shared by applications and middleware.
56 -- | A location for arbitrary data to be shared by applications and middleware.