You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the ContentTypeListener, in the __invoke function, checks are done for the content of a DELETE request. Per the spec, DELETE requests should not have a payload.
If I send a delete request with an application/json content-type, this will fail, because it will try to parse an empty content as JSON.
In my opinion, the DELETE should be removed from the switch statement.
Hello,
in the ContentTypeListener, in the __invoke function, checks are done for the content of a DELETE request. Per the spec, DELETE requests should not have a payload.
If I send a delete request with an application/json content-type, this will fail, because it will try to parse an empty content as JSON.
In my opinion, the DELETE should be removed from the switch statement.
Originally posted by @AxaliaN at zfcampus/zf-content-negotiation#87
The text was updated successfully, but these errors were encountered: