Minor version of Yii HTTP Runner were tagged. In this version made several changes and improvements.
- Add
HttpApplicationRunner::runAndGetResponse()
method that returns response without emit. - Add
$emitter
,$useRemoveBodyByStatusMiddleware
,$useContentLengthMiddleware
and$useHeadRequestMiddleware
parameters toHttpApplicationRunner
constructor. - Minor refactor internal class
RequestFactory
: explicitly mark read-only properties and add type to parameter ofcreate()
method. - Don't remove
Content-Length
header if it is set and emit is called without body.