Releases: icicleio/http
Releases · icicleio/http
v0.3.0
Changed
- All interface names have been changed to remove the
Interfacesuffix. Classes such asIcicle\Http\Message\Requesthave been renamed toBasicRequestsince the interface now uses the non-suffixed name. - The constructor of
Icicle\Http\Server\Servernow requires an instance ofIcicle\Http\Server\RequestHandlerinstead of callbacks. The constructor also takes an instance ofIcicle\Log\Logthat 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 ofIcicle\Http\Message\Uri.- Renamed
Icicle\Http\Message\Message::getHeader()toIcicle\Http\Message\Message::getHeaderAsArray()and renamedIcicle\Http\Message\Message::getHeaderLine()toIcicle\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
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).