Fix for dodgy commit

Previous commit didn't actually work - Request::current()->headers() now used rather than Request::current()->response()->headers