Mentioned issues (3)
Links (1)
“ As the header field names are case insensitive (-> http://tools.ietf.org/html/rfc2616#section-4.2 ), some web server send 'Set-Cookie', and other 'set-cookie' or 'SET-COOKIE'. Therefore it's not future-prove to access elements via ['Set-Cookie'], instead one has to iterate through the members and do a case-insensitive comparison. In order to avoid this effort, getAllHeaders() already should convert all field names to lowercase, so that e.g. the cookies always could be accessed via ['set-cookie'], no matter how the web server writes them into the response. ”