Overview
-
module Protocol-
module HTTP1-
module BodyA collection of classes for handling HTTP/1.1 request and response bodies.
-
class ChunkedRepresents a chunked body, which is a series of chunks, each with a length prefix.
-
class FixedRepresents a fixed length body.
-
class RemainderRepresents the remainder of the body, which reads all the data from the connection until it is finished.
-
-
class ConnectionRepresents a single HTTP/1.x connection, which may be used to send and receive multiple requests and responses.
-
class ErrorThe base class for all HTTP/1.x errors.
-
class ProtocolErrorThe protocol was violated in some way, e.g. trying to write a request while reading a response.
-
class LineLengthErrorThe request line was too long.
-
class BadRequestThe request was not able to be parsed correctly, or failed some kind of validation.
-
class BadHeaderA header name or value was invalid, e.g. contains invalid characters.
-
class InvalidRequestIndicates that the request is invalid for some reason, e.g. syntax error, invalid headers, etc.
-
class ContentLengthErrorThe specified content length and the given content's length do not match.
-
module ReasonReason phrases for HTTP status codes.
-
-
-
Provider