Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- App::after(function($request, $response) {
- // Fixes a strange issue with Chrome. Should theoretically be removeable
- // after upgrading PHP to 5.5 from 5.4
- if ($response instanceof IlluminateHttpResponse) {
- $response->header('Content-Length', strlen($response->getOriginalContent()));
- }
- });
Add Comment
Please, Sign In to add comment