adding requestHeaderHost to Request. (#190)

This commit is contained in:
Kazu Yamamoto 2013-11-03 20:14:16 +09:00
parent 808317cbd2
commit b1338c20dd
2 changed files with 3 additions and 0 deletions

View File

@ -186,4 +186,5 @@ defaultRequest = Request
, requestBody = return ()
, vault = mempty
, requestBodyLength = KnownLength 0
, requestHeaderHost = Nothing
}

View File

@ -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)