Skip to content

Conversation

@UDilhan
Copy link

@UDilhan UDilhan commented Jan 9, 2023

Hi, on PHP FPM (in my case PHP FPM 7.4), the getallheaders() function returns an array with other keys than on PHP for Apache.
This causes the PUT, DELETE, or PATCH requests are not recognized and the request is processed like a POST request. This patch will keep the servers without the getallheaders() function to work.

@UDilhan UDilhan changed the title Added support for PHP FPM on PATCH requests. Added support for PHP FPM on PATCH/DELETE/PUT requests. Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant