Nyholm / psr7-server

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

Add default request body to fromGlobals #16

Closed Zegnat closed 6 years ago

Zegnat commented 6 years ago

Fixes #15 in both interface and implementation.

Nyholm commented 6 years ago

Thank you. Could you rebase please?

Zegnat commented 6 years ago

Rebased and a fallback to null added in case php://input cannot be opened with fopen.