HTTP headers PSR-15 middleware
This library provides a collection of PSR-15 middleware to manage HTTP headers.
The collection includes
AddHttpHeadersMiddlewareAdds HTTP headers to the response
CacheMiddlewareAdds cache headers to the response (using micheh/psr7-cache)
NoCacheMiddlewareAdds cache prevention headers to the response (using micheh/psr7-cache)
X-Powered-ByHTTP headers to the response
HttpVersionCheckMiddlewareInsure that the HTTP version of the response is the same of the version used for the request.
composer require codeinc/http-headers-middleware
The library is published under the MIT license (see