Nyholm / psr7-server

Helper classes to use any PSR7 implementation as your main request and response
MIT License
90 stars 21 forks source link

Use getHeadersFromServer as fallback for getallheaders in fromGlobals #14

Closed Zegnat closed 6 years ago

Zegnat commented 6 years ago

Addresses a common issue developers will run into, discussion: https://github.com/Nyholm/psr7-server/issues/11#issuecomment-409953731.

Zegnat commented 6 years ago

Blocked by #13.

After #13 is resolved, ServerRequestCreator::fromGlobals can be changed to call static::getHeadersFromServer as fallback.

Zegnat commented 6 years ago

This is no longer blocked and calls static::getHeadersFromServer as fallback.