That PSR-7 page describes a Psr\Http\Message\RequestInterface. Maybe worth noting it also says:
An HTTP client MUST ignore the values of Uri::getPath() and Uri::getQuery(), and instead use the value returned by getRequestTarget(), which defaults to concatenating these two values.
Also, I regret not wrapping whatever request object in a locally-defined interface, making issues like https://github.com/99designs/http-signatures-php/pull/8 much harder to solve. So a breaking change version of this library would probably introduce a new Message interface with a SymfonyReqestMessage and PSR7RequestMessage implementation.
@mtibben says:
http://www.php-fig.org/psr/psr-7/
That PSR-7 page describes a
Psr\Http\Message\RequestInterface
. Maybe worth noting it also says:Also, I regret not wrapping whatever request object in a locally-defined interface, making issues like https://github.com/99designs/http-signatures-php/pull/8 much harder to solve. So a breaking change version of this library would probably introduce a new
Message
interface with aSymfonyReqestMessage
andPSR7RequestMessage
implementation.