8000 Release zf-content-negotiation 1.1.2 · zfcampus/zf-content-negotiation · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

zf-content-negotiation 1.1.2

Compare
Choose a tag to compare
@weierophinney weierophinney released this 26 May 22:18
· 161 commits to master since this release

Added

  • #50 adds support for parsing application/hal+json bodies; _embedded properties are now merged with the top-level object following parsing.
  • #66 adds suport in the ContentTypeFilterListener to allow for request bodies to be objects that are castable to strings, such as occurs when using zend-psr7bridge to convert from PSR-7 to zend-http request instances (the message body is then a StreamInterface implementation, which may be cast to a string).

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #68 fixes parsing of urlencoded data within PUT requests.
  • #52 updates the ContentTypeListener to raise an error for non-object/non-array JSON payloads.
  • #58 updates the AcceptFilterListener to validate payloads without an Accept header.
  • #63 fixes the ContentTypeListener behavior when the request body does not contain a MIME boundary; the method now catches the exception and returns a 400 response.
0