content-length:PSR-15中间件,将Content-Length标头注入响应中

时间:2021-02-17 04:48:38
【文件属性】:
文件名称:content-length:PSR-15中间件,将Content-Length标头注入响应中
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-17 04:48:38
http middleware http-header psr-15 content-length 中间件/内容长度 中间件根据主体大小将Content-Length标头注入响应中。 要求 PHP> = 7.2 安装 该软件包可以通过Composer作为安装和自动加载。 composer require middlewares/content-length 例子 $ dispatcher = new Dispatcher ([ new Middlewares \ ContentLength () ]); $ response = $ dispatcher -> dispatch ( new ServerRequest ()); 请看有关最近的变化和更多的信息对促进细节。 MIT许可证(MIT)。 请参阅“以获取更多信息。
【文件预览】:
content-length-master
----src()
--------ContentLength.php(812B)
----CONTRIBUTING.md(3KB)
----LICENSE(1KB)
----composer.json(1KB)
----CHANGELOG.md(571B)
----.github()
--------workflows()
----README.md(2KB)

网友评论