You can read (nearly) all HTTP Header fields which the client sends; and you can set (nearly) all HTTP header fields using the appropriate methods (GET_HEADER_FIELDS method of the request object; SET_HEADER_FIELD(S) of the response object).
But you have to take care: Not every HTTP header is a must! e.g. "referrer" is an OPTIONAL header fields which the client can send or not (see http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html).
Add a comment