I am wondering what is the best way to read and write http headers in Joomla?
What do I need to achieve?
- I want to read all requests headers
- I want to add response headers
- I want to control optional existing headers by removing them or modifying them
- I want to ensure my code is the last part of a possible chain of handling the http headers, so nothing else may modify my headers
Is where any good documentation how Joomla handles http-header processing? Is there something around like a chained processing (similar to c# or java http handling)?
What would you suggest to solve my above mentioned bullet-requirements?