Skip to content

1.3.0

@weierophinney weierophinney tagged this 11 Oct 21:39
Based on https://github.com/zfcampus/zf-content-negotiation/releases/tag/1.3.0 (commit d4b45b7d0fc0f25797883c60658e869a25897842 in this repo)

Added
-----

- [zfcampus/zf-content-negotiation#81](https://github.com/zfcampus/zf-content-negotiation/pull/81) adds a new
  listener, `HttpMethodListener`. The listener is enabled by toggling the
  `api-tools-content-negotiation.x_http_method_override_enabled` flag, and providing a
  map of request method/list of override request methods in the
  `api-tools-content-negotiation.http_override_methods` configuration:

  ```php
  'api-tools-content-negotiation' => [
      'x_http_method_override_enabled' => true,
      'http_override_methods' => [
          'GET' => [
              'HEAD',
              'PATCH',
              'POST',
              'PUT',
              'DELETE',
          ],
      ],
  ],
  ```

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.
Assets 2
Loading