http-kit-0.1.0: A low-level HTTP library

Safe HaskellNone

Network.HTTP.Toolkit.Response

Synopsis

Documentation

readResponseWithLimit :: Limit -> Method -> Connection -> IO (ResponseHeader, BodyReader)Source

Read response from provided connection.

Throws:

determineResponseBodyType :: Method -> Status -> [Header] -> BodyTypeSource

Determine the message BodyType from a given Method, Status, and list of message headers (as of RFC 2616, Section 4.4).