PHP
Switch branches/tags
Clone or download
fabpot bug #30 Fix the request target in PSR7 Request (mtibben)
This PR was squashed before being merged into the 1.0-dev branch (closes #30).

Discussion
----------

Fix the request target in PSR7 Request

The request target is not being preserved correctly when using this library. This is because the query string is normalized, and we're not populating the PSR-7 request with the actual request target.

This is important for things like http signatures which uses the request target as an input to sign a request.

Commits
-------

94fcfa5 Fix the request target in PSR7 Request
Latest commit c2b7579 Dec 19, 2017

README.md

PSR-7 Bridge

Provides integration for PSR7.

Resources

If you want to run the unit tests, install dev dependencies before running PHPUnit:

$ cd path/to/Symfony/Bridge/PsrHttpMessage/
$ composer.phar install
$ phpunit