2017 © Pedro Peláez
 

library content-length

Middleware to inject the Content-Length header into the response based on the body size

image

middlewares/content-length

Middleware to inject the Content-Length header into the response based on the body size

  • Saturday, March 17, 2018
  • by oscarotero
  • Repository
  • 1 Watchers
  • 0 Stars
  • 169 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 111 % Grown

The README.md

middlewares/content-length

Latest Version on Packagist ![Software License][ico-license] Testing ![Total Downloads][ico-downloads], (*1)

Middleware to inject the Content-Length header into the response based on the body size., (*2)

Requirements

Installation

This package is installable and autoloadable via Composer as middlewares/content-length., (*3)

composer require middlewares/content-length

Example

$dispatcher = new Dispatcher([
    new Middlewares\ContentLength()
]);

$response = $dispatcher->dispatch(new ServerRequest());

Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details., (*4)

The MIT License (MIT). Please see LICENSE for more information., (*5)

The Versions

17/03 2018

dev-master

9999999-dev https://github.com/middlewares/content-length

Middleware to inject the Content-Length header into the response based on the body size

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http psr-15

15/03 2018

v1.0.0

1.0.0.0 https://github.com/middlewares/content-length

A content-length repository for PSR-15 middleware packages

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http psr-15