Yii HTTP Middleware 1.2
Yii HTTP Middleware version 1.2.0 was released. In this version:
- Add
RedirectMiddleware - Change PHP constraint in
composer.jsonto8.1 - 8.5
Yii HTTP Middleware version 1.2.0 was released. In this version:
RedirectMiddlewarecomposer.json to 8.1 - 8.5Minor version of Yii Middleware has been released. Here are the list of improvements and fixes included in the new version:
composer.json to 8.1 - 8.4;yiisoft/router version to ^4.0;yiisoft/session version to ^3.0;Minor version of Yii HTTP Middleware has been released.
This release adds RemoveBodyMiddleware, which removes the response body for specific HTTP status codes.
First stable version of Yii HTTP Middleware was released.
The package provides a collection of PSR-15 middleware focused on HTTP features:
ContentLengthMiddleware — manages the Content-Length header in the response;CorsAllowAllMiddleware — adds CORS headers allowing any request origins in later requests;ForceSecureConnectionMiddleware — redirects insecure requests from HTTP to HTTPS and adds headers necessary to enhance the security policy;HeadRequestMiddleware — removes body from response for HEAD request;Proxy Middleware 1.0 has been released. The package contains proxy related middleware classes that implement PSR-15:
They were extracted from Yii Middleware package.
Yii Middleware 1.0 has been released. The package contains a set of the following middleware:
CorsAllowAll. Adds CORS headers to the response.ForceSecureConnection Redirects insecure requests from HTTP to HTTPS, and adds headers necessary to enhance the security policy.HttpCache. Implements client-side caching by utilizing the Last-Modified and ETag HTTP headers.IpFilter. Allows access from specified IP ranges only and responds with 403 for all other IPs.