Repository navigation
v1.0.1
New features:
- Add SimpleMessage::withHeaders().
- Add SimpleUri::from().
- Add a mock HTTP client implementation for testing.
- Add SimpleFactory. (Provides RequestFactoryInterface, ResponseFactoryInterface, UriFactoryInterface, StreamFactoryInterface)
- Add ClientDecorator, Client, and ClientInterface. (Client adds Client::get() and Client::post() to make simple requests even easier.)
Bug fixes:
- SimpleMessage::withHeaderAdded() no longer incorrectly appends multiple values.
- SimpleRequest::getRequestTarget() no longer unconditionally appends ? to the path.
Tests were added and updated to cover regressions and maintain 100% coverage. Some tests and support classes were reorganized.