Added middleware which injects the content-length header in the response if not present

This commit is contained in:
Alejandro Celaya 2018-05-03 18:25:57 +02:00
parent 75b8175824
commit 334710e92c

View File

@ -16,6 +16,7 @@ return [
'pre-routing' => [ 'pre-routing' => [
'middleware' => [ 'middleware' => [
ErrorHandler::class, ErrorHandler::class,
Expressive\Helper\ContentLengthMiddleware::class,
LocaleMiddleware::class, LocaleMiddleware::class,
], ],
'priority' => 11, 'priority' => 11,