View Full Version : apache_response_headers() - can LiteSpeed emulate?
Is there any chance LiteSpeed could add support for apache_response_headers()?
I don't believe it's working and it causes some software to work improperly like wp-cache for wordpress (it can't learn what mime types were sent with the content).
mistwang
05-05-2007, 06:31 PM
using apache specific function is not a good practise in PHP programming.
I think wp-cache for wordpress should work well with LiteSpeed, wordpress.com and a few other large blog sites are using it with LiteSpeed without any problem.
It is possible to fake a apache_response_headers() in our PHP SAPI, we will add it at a later time.
Well the problem is that the alternative function, headers_list does not exist in PHP 4.x
Without one of them, it's impossible for a caching module to determine and store the correct mime type for a document that was just sent.
mistwang
05-10-2007, 02:21 PM
apache_response_headers() function has been added in our PHP LSAPI 4.0 release.
I cannot say enough how impressed I am with the
responsiveness of LiteSpeed to bug fixes and enhancements.
Thank you very much, I look forward to it.