Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: Nyholm/psr7-1

Tags

1.3.1

Toggle 1.3.1's commit message
* Fix `Uri::__toString` for network path references, e.g. `//example.…

…org`.

* Fix missing lowercase normalization for host.
* Fix handling of URI components in case they are `'0'` in a lot of places,
  e.g. as a user info password.
* Fix `Uri::withAddedHeader` to correctly merge headers with different case.
* Fix trimming of header values in `Uri::withAddedHeader`. Header values may
  be surrounded by whitespace which should be ignored according to RFC 7230
  Section 3.2.4. This does not apply to header names.
* Fix `Uri::withAddedHeader` with an array of header values.
* Fix `Uri::resolve` when base path has no slash and handling of fragment.
* Fix handling of encoding in `Uri::with(out)QueryValue` so one can pass the
  key/value both in encoded as well as decoded form to those methods. This is
  consistent with withPath, withQuery etc.
* Fix `ServerRequest::withoutAttribute` when attribute value is null.

1.3.0

Toggle 1.3.0's commit message
* 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.

1.2.3

Toggle 1.2.3's commit message
* Fixed support in `GuzzleHttp\Psr7\CachingStream` for seeking forwar…

…d on remote

  streams, which can sometimes return fewer bytes than requested with `fread`.
* Fixed handling of gzipped responses with FNAME headers.

1.2.2

Toggle 1.2.2's commit message
* 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.

1.2.1

Toggle 1.2.1's commit message
* Now supporting negative offsets when seeking to SEEK_END.

1.2.0

Toggle 1.2.0's commit message
* 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.

1.1.0

Toggle 1.1.0's commit message
* 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.

1.0.0

Toggle 1.0.0's commit message
Initial release.

Currently unsupported:

- `Psr\Http\Message\ServerRequestInterface`
- `Psr\Http\Message\UploadedFileInterface`