Amphp Http Versions Save

HTTP primitives which can be shared by servers and clients.

v1.6.3

3 years ago
  • Removed flood protection from Http2Parser It's not the task of a parser to apply policy decisions. Additionally, the current policy doesn't work correctly in all normal situations, e.g. larger uploads will trigger this in the client, because the server will send many window increments before sending any payload bytes.

v1.6.2

3 years ago
  • Fixed GOAWAY frames breaking the parser loop, no longer processing other frames.

v1.6.1

3 years ago
  • Fixed broken symlink (#16)

v1.6.0

4 years ago
  • Added Http2Parser that parses HTTP/2 frames, calling methods on a class implementing Http2Processor.
  • Added Message::getRawHeaders() to expose the original casing of headers. The API is limited to a single method returning all headers, as applications should never depend on the header casing as defined by the HTTP RFCs.
  • Added Rfc7230::parseRawHeaders()
  • Added Rfc7230::formatRawHeaders()

v1.6.0-rc1

4 years ago
  • Added Http2Parser that parses HTTP/2 frames, calling methods on a class implementing Http2Processor.

v1.5.0

4 years ago
  • Added formatDateHeader()

v1.4.0

4 years ago
  • Added support for the SameSite attribute (#10)

v1.3.0

4 years ago
  • Increased minimum PHP version to 7.1
  • Added parseFieldValueComponents
  • Added createFieldValueComponentMap

v1.2.0

4 years ago
  • Added support for legacy date formats in ResponseCookie parsing (#6)
  • Added mutation methods to RequestCookie and ResponseCookie
  • Unknown cookie attributes are now preserved in ResponseCookie (#2, #3)

v1.1.0

5 years ago
  • Added Message class to be used as a base-class for HTTP messages.