- Added remaining interfaces needed for full PSR7 compatibility (ServerRequestInterface, UploadedFileInterface, etc.).
- Added support for stream_for from scalars.
- Can now extend Uri.
- Fixed a bug in validating request methods by making it more permissive.
- Fixed support in
GuzzleHttp\Psr7\CachingStream
for seeking forward on remote streams, which can sometimes return fewer bytes than requested withfread
. - Fixed handling of gzipped responses with FNAME headers.
- Added support for URIs without any authority.
- Added support for HTTP 451 'Unavailable For Legal Reasons.'
- Added support for using '0' as a filename.
- Added support for including non-standard ports in Host headers.
- Now supporting negative offsets when seeking to SEEK_END.
- Body as
"0"
is now properly added to a response. - Now allowing forward seeking in CachingStream.
- Now properly parsing HTTP requests that contain proxy targets in
parse_request
. - functions.php is now conditionally required.
- user-info is no longer dropped when resolving URIs.
- URIs can now be relative.
multipart/form-data
headers are now overridden case-insensitively.- URI paths no longer encode the following characters because they are allowed in URIs: "(", ")", "*", "!", "'"
- A port is no longer added to a URI when the scheme is missing and no port is present.
Initial release.
Currently unsupported:
Psr\Http\Message\ServerRequestInterface
Psr\Http\Message\UploadedFileInterface