![]() |
[Resolved] Custom HTTP response headers
Hi,
is it possible to send custom HTTP response headers from the server to the browser? I'm using litespeed web server v4.0.13 with php 5.2.12. With the apache web server it was possible. Example: The browser generates some ajax requests to the server. Then the server returns some HTML content and set the following HTTP response header: "Status: -1". Then the browser uses javascript to get the "Status" response header and determines what to do. |
it's php related. no difference between apache and litespeed in this point.
using php header() function: http://php.net/manual/en/function.header.php |
Thank you.
I found the source of my confusion. It was the 'Status' header. I changed it to something else like 'Return' and it works now. I suppose the 'Status' header is filtered by litespeed for some reason. |
| All times are GMT -7. The time now is 11:03 PM. |