Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for PHP FPM on PATCH/DELETE/PUT requests. #195

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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