Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added get_header method to Output class. #645
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I have a hook that overrides the final output. The hook needs to check if the Content-Type header has been sent. There was no way to access header information that had already been sent via:
The method will send back headers set by the Output class, or using the traditional header() function.