The code within SOAPHTTPConnection stores the header values in a hashtable.
 
To find the Set-Cookie header a get() is performed on the hashtable and hence performs a case sensitive search.
 
If the Web Server returns the header Set-cookie it will be ignored, currently iPlanet Web Server does this.
 
From the HTTP rfc 2068
 
Section 4.2
 
HTTP header fields, which include general-header (section 4.5), request-header (section 5.3), response-header (section 6.2), and entity-header (section 7.1) fields, follow the same generic format as that given in Section 3.1 of RFC 822 [9]. Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive.
 
How do we go about rectifying the SOAPHTTPConnection class to be case insensitive?
 
Warwick Slade
 

Reply via email to