Amphp Http Versions Save

Basic HTTP primitives which can be shared by servers and clients.

v2.0.0-beta.1

3 months ago
  • PHP 8.1 is now required
  • Renamed Status and Message to HttpStatus and HttpMessage respectively. Aliases of the old names to the new names exist in this beta version, but may be removed before the stable release
  • Added a message parameter to Http2Processor::handleShutdown()
  • Http2Parser constructor now requires an HPack instance to be injected, as well as providing parameters for upgrade settings, header size limit, and frame size limits
  • Http2Parser::parse() was removed; Http2Parser now has a push() and cancel() methods to push received data and end parsing

v1.7.1

3 months ago
  • Fixed header validation regex to allow names containing *, +, and . (#19)

v1.7.0

7 months ago
  • Expose frame and byte count metrics in Http2Parser
  • Reduce strtolower calls, improving performance
  • Relax parsing strictness for request cookies to ignore empty trailing semicolons (https://github.com/amphp/http/pull/18)

v1.6.3

2 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

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

v1.6.1

2 years ago
  • Fixed broken symlink (#16)

v1.6.0

3 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

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

v1.5.0

3 years ago
  • Added formatDateHeader()

v1.4.0

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