Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Use $_SERVER instead of apache_request_headers() #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use $_SERVER instead of apache_request_headers() #2

wants to merge 1 commit into from

Conversation

lesaff
Copy link

@lesaff lesaff commented Feb 13, 2018

apache_request_headers() does not work with nginx-based servers

`apache_request_headers()` does not work with nginx-based servers
@thomasaull
Copy link
Owner

thomasaull commented Feb 13, 2018 via email

@thomasaull
Copy link
Owner

thomasaull commented Feb 26, 2018

@lesaff I checked your PR, unfortunately on my local development setup, I can't access the required Authorization Header with the $_SERVER variable. Can you check if the getallheaders() function (http://php.net/manual/de/function.getallheaders.php) works with nginx based servers?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants