apache_response_headers() - can LiteSpeed emulate?

aww

Well-Known Member
#1
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).
 
Last edited:

mistwang

LiteSpeed Staff
#2
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.
 

aww

Well-Known Member
#3
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.
 

aww

Well-Known Member
#5
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.
 
Top