String -> ByteString +http

buf_fromStr :: BufferOp a -> String -> a
HTTP Network.BufferType
setRequestVersion :: String -> Request a -> Request a
HTTP Network.HTTP.Base
setRequestVersion v req returns a new request, identical to req, but with its HTTP version set to v.
setResponseVersion :: String -> Response a -> Response a
HTTP Network.HTTP.Base
setResponseVersion v rsp returns a new response, identical to rsp, but with its HTTP version set to v.
normalizeRequestURI :: Bool -> String -> Request ty -> Request ty
HTTP Network.HTTP.Base
Deprecated: Please use Network.HTTP.Base.normalizeRequest instead
insertHeader :: HasHeaders a => HeaderSetter a
HTTP Network.HTTP.Headers
insertHeader hdr val x inserts a header with the given header name and value. Does not check for existing headers with same name, allowing duplicates to be introduce (use replaceHeader if you want to avoid this.)
insertHeaderIfMissing :: HasHeaders a => HeaderSetter a
HTTP Network.HTTP.Headers
insertHeaderIfMissing hdr val x adds the new header only if no previous header with name hdr exists in x.
replaceHeader :: HasHeaders a => HeaderSetter a
HTTP Network.HTTP.Headers
replaceHeader hdr val o replaces the header hdr with the value val, dropping any existing