Skip to content

Releases: icicleio/http

v0.3.0

09 Mar 03:46
Compare
Choose a tag to compare

Changed

  • All interface names have been changed to remove the Interface suffix. Classes such as Icicle\Http\Message\Request have been renamed to BasicRequest since the interface now uses the non-suffixed name.
  • The constructor of Icicle\Http\Server\Server now requires an instance of Icicle\Http\Server\RequestHandler instead of callbacks. The constructor also takes an instance of Icicle\Log\Log that can be used to log server actions as they occur. This parameter uses STDERR if no log is given. Turn off assertions in production (zend.assertions = -1) to skip most log messages for better performance.
  • Icicle\Http\Message\Request::getRequestTarget() now returns an instance of Icicle\Http\Message\Uri.
  • Renamed Icicle\Http\Message\Message::getHeader() to Icicle\Http\Message\Message::getHeaderAsArray() and renamed Icicle\Http\Message\Message::getHeaderLine() to Icicle\Http\Message\Message::getHeader().

Fixed

  • Fixed issues with encoding certain characters in headers and URIs.
  • Values of headers and URIs are now decoded (that is, no percent-encoded characters should be present header and URI values returned from methods such as Icicle\Http\Message\Message::getHeader().

v0.2.1

20 Oct 19:07
Compare
Choose a tag to compare

Updated dependencies to require icicleio/stream ^0.4 and icicleio/socket ^0.4 and updated the appropriate components. Note that server request handlers should now expect a Icicle\Socket\SocketInterface object (renamed from Icicle\Socket\Client\ClientInterface).

v0.2.0

01 Oct 21:47
Compare
Choose a tag to compare

Changes

  • Added support for cookies to request and response messages.

v0.1.0

25 Aug 23:23
Compare
Choose a tag to compare

Initial release. The API is still under development and I would appreciate any feedback.