Query regarding Request Headers in HTTP/1.1

Hi,

I have one query regarding Accept Headers in HTTP Request. From our program, client is sending below headers in request...

Type 1:

Accept-Encoding : Gzip
Accept-Encoding : deflate

Normally accept headers is like that

Type : 2
Accept-Encoding : Gzip, drflate.

My questions are :

1. Whether above request headers format (Type 1)is acceptable (or correct).
2. If yes, then how the server will deal with it.
3. In RFC2616, where its defined that we can have multiple accept headers with same "filed-value", like we stated above (Type 1).

regards
priyanshu


      

Received on Wednesday, 19 November 2008 18:24:04 UTC