Guest User

Untitled

a guest
Jan 17th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. App::after(function($request, $response) {
  2. // Fixes a strange issue with Chrome. Should theoretically be removeable
  3. // after upgrading PHP to 5.5 from 5.4
  4. if ($response instanceof IlluminateHttpResponse) {
  5. $response->header('Content-Length', strlen($response->getOriginalContent()));
  6. }
  7. });
Add Comment
Please, Sign In to add comment