Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@trowski trowski released this 09 Mar 03:46
· 2 commits to v0.3.x since this release

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().