How to fix CodeIgniter headers? |
I'm having trouble using request headers in my CodeIgniter custom Controller. The function $request->getHeader('any-header') returns an empty object and using $request->headers() results in an error. How can I fix this issue and use the CodeIgniter functions instead of getallheaders()?
What is an empty object?
It should return a Header object. |
Welcome Guest, Not a member yet? Register Sign In |