Name: content-length
Owner: Middlewares
Description: PSR-15 middleware to inject the Content-Length header into the response
Created: 2018-03-15 19:23:38.0
Updated: 2018-03-17 21:56:56.0
Pushed: 2018-03-17 21:56:55.0
Size: 9
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Middleware to inject the Content-Length header into the response based on the body size.
This package is installable and autoloadable via Composer as middlewares/content-length.
oser require middlewares/content-length
patcher = new Dispatcher([
new Middlewares\ContentLength()
ponse = $dispatcher->dispatch(new ServerRequest());
Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details.
The MIT License (MIT). Please see LICENSE for more information.