Overview
-
module Protocol
-
module HTTP1
-
module Body
A collection of classes for handling HTTP/1.1 request and response bodies.
-
class Chunked
Represents a chunked body, which is a series of chunks, each with a length prefix.
-
class Fixed
Represents a fixed length body.
-
class Remainder
Represents the remainder of the body, which reads all the data from the connection until it is finished.
-
-
class Connection
Represents a single HTTP/1.x connection, which may be used to send and receive multiple requests and responses.
-
class Error
The base class for all HTTP/1.x errors.
-
class ProtocolError
The protocol was violated in some way, e.g. trying to write a request while reading a response.
-
class LineLengthError
The request line was too long.
-
class BadRequest
The request was not able to be parsed correctly, or failed some kind of validation.
-
class BadHeader
A header name or value was invalid, e.g. contains invalid characters.
-
class InvalidRequest
Indicates that the request is invalid for some reason, e.g. syntax error, invalid headers, etc.
-
class ContentLengthError
The specified content length and the given content's length do not match.
-
module Reason
Reason phrases for HTTP status codes.
-
-