This repository was archived by the owner on Jan 21, 2020. It is now read-only.
zf-content-negotiation 1.1.2
Added
- #50 adds support for parsing
application/hal+jsonbodies;_embeddedproperties are now merged with the top-level object following parsing. - #66 adds suport in the
ContentTypeFilterListenerto 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 aStreamInterfaceimplementation, which may be cast to a string).
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #68 fixes parsing of urlencoded data within PUT requests.
- #52 updates the
ContentTypeListenerto raise an error for non-object/non-array JSON payloads. - #58 updates the
AcceptFilterListenerto validate payloads without anAcceptheader. - #63 fixes the
ContentTypeListenerbehavior when the request body does not contain a MIME boundary; the method now catches the exception and returns a 400 response.