Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

zend-http 2.10.1

Compare
Choose a tag to compare
@michalbundyra michalbundyra released this 02 Dec 16:37
· 103 commits to master since this release
release-2.10.1
d190613

Added

  • Nothing.

Changed

  • #190 changes ContentSecurityPolicy to allow multiple values. Before it was not possible to provide multiple headers of that type.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #184 fixes responses for request through the proxy with HTTP/1.1 200 Connection established header.

  • #187 fixes infinite recursion on invalid header. Now InvalidArgumentException exception is thrown.

  • #188 fixes Client::setCookies method to properly handle array of SetCookie objects. Per documentation it should be allowed.

  • #189 fixes Headers::toArray method to properly handle headers of the same type. Behaviour was different depends how header has been attached (addHeader or addHeaderLine broken before).

  • #198 fixes merging options in Curl adapter. It was not possible to override integer-key options (constants) set via constructor with method setOptions.

  • #198 fixes allowed options type in Proxy::setOptions. Traversable, array or Zend\Config object is expected.

  • #198 fixes various issues with Proxy adapter.

  • #199 fixes saving resource to the file when streaming while client supports compression. Before, incorrectly, compressed resource was saved into the file.