[Resolved] Custom HTTP response headers

Discussion in 'Apache Migration/Compatibility' started by muisei, Mar 23, 2010.

  1. muisei

    muisei New Member

    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.
    Last edited by a moderator: Mar 24, 2010
  2. NiteWave

    NiteWave Administrator

  3. muisei

    muisei New Member

    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.

Share This Page