Yii HTTP Runner 3.2

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 to HttpApplicationRunner constructor.
  • Minor refactor internal class RequestFactory: explicitly mark read-only properties and add type to parameter of create() method.
  • Don't remove Content-Length header if it is set and emit is called without body.