on master help sign in
Cosmetic change
3223b33Danny Navarro
wai/Network/Wai/Internal.hs+8−6
@@ -46,26 +46,28 @@ data Request = Request {
46 , isSecure :: Bool
46 , isSecure :: Bool
47 -- | The client\'s host information.
47 -- | The client\'s host information.
48 , remoteHost :: SockAddr
48 , remoteHost :: SockAddr
49− -- | Path info in individual pieces- the url without a hostname/port and without a query string, split on forward slashes,
49+ -- | Path info in individual pieces- the url without a hostname/port and
50+ -- without a query string, split on forward slashes.
50 , pathInfo :: [Text]
51 , pathInfo :: [Text]
51 -- | Parsed query string information
52 -- | Parsed query string information
52 , queryString :: H.Query
53 , queryString :: H.Query
53 -- | A request body provided as 'Source'.
54 -- | A request body provided as 'Source'.
54 , requestBody :: C.Source IO B.ByteString
55 , requestBody :: C.Source IO B.ByteString
55 -- | 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.
56− , vault :: Vault
57+ , vault :: Vault
57− -- | The size of the request body. In the case of a chunked request body, this may be unknown.
58+ -- | The size of the request body. In the case of a chunked request body,
59+ -- this may be unknown.
58 --
60 --
59 -- Since 1.4.0
61 -- Since 1.4.0
60− , requestBodyLength :: RequestBodyLength
62+ , requestBodyLength :: RequestBodyLength
61 -- | The value of the Host header in a HTTP request.
63 -- | The value of the Host header in a HTTP request.
62 --
64 --
63 -- Since 2.0.0
65 -- Since 2.0.0
64− , requestHeaderHost :: Maybe B.ByteString
66+ , requestHeaderHost :: Maybe B.ByteString
65 -- | The value of the Range header in a HTTP request.
67 -- | The value of the Range header in a HTTP request.
66 --
68 --
67 -- Since 2.0.0
69 -- Since 2.0.0
68− , requestHeaderRange :: Maybe B.ByteString
70+ , requestHeaderRange :: Maybe B.ByteString
69 }
71 }
70 deriving (Typeable)
72 deriving (Typeable)
71
73