zendframework / zend-diactoros

PSR-7 HTTP Message implementation
BSD 3-Clause "New" or "Revised" License
1.56k stars 152 forks source link

Fixed serverRequest factory #337

Closed oscarotero closed 5 years ago

oscarotero commented 5 years ago

This fixes the ServerRequestFactory that always creates a server request with php://input as the body stream.

Ocramius commented 5 years ago

This requires a unit test, as well as an integration test that runs through a standard HTTP request flowing in from at least the internal PHP development server.

oscarotero commented 5 years ago

Ok, I've added a couple of tests.

weierophinney commented 5 years ago

Thanks, @oscarotero!