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

zf-content-negotiation 1.3.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 11 Oct 21:41
· 77 commits to master since this release

Added

  • #81 adds a new listener, HttpMethodListener. The listener is enabled by toggling the zf-content-negotiation.x_http_method_override_enabled flag, and providing a map of request method/list of override request methods in the zf-content-negotiation.http_override_methods configuration:

    'zf-content-negotiation' => [
        'x_http_method_override_enabled' => true,
        'http_override_methods' => [
            'GET' => [
                'HEAD',
                'PATCH',
                'POST',
                'PUT',
                'DELETE',
            ],
        ],
    ],

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.