mirror of
https://github.com/typeable/wai.git
synced 2025-01-08 15:37:19 +03:00
adding requestHeaderHost to Request. (#190)
This commit is contained in:
parent
808317cbd2
commit
b1338c20dd
@ -186,4 +186,5 @@ defaultRequest = Request
|
||||
, requestBody = return ()
|
||||
, vault = mempty
|
||||
, requestBodyLength = KnownLength 0
|
||||
, requestHeaderHost = Nothing
|
||||
}
|
||||
|
@ -58,6 +58,8 @@ data Request = Request
|
||||
--
|
||||
-- Since 1.4.0
|
||||
, requestBodyLength :: RequestBodyLength
|
||||
-- | The value of the Host header in a HTTP request.
|
||||
, requestHeaderHost :: Maybe B.ByteString
|
||||
}
|
||||
deriving (Typeable)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user