Details
Description
Lookup of HTTP headers in the class HttpResponse should be case-insensitive - for example, any "Location" header should be returned independent from the casing sent by the sender.
While protocol-http uses the class SpellCheckedMetadata which provides case-insensitive lookups (as part of the spell-checking functionality), protocol-okhttp relies on the class Metadata which stores the metadata values case-sensitive.
It's a good question, whether we still need to spell-check HTTP headers. However, case-insensitive look-ups are definitely required. Especially, since HTTP header names are case-insensitive in HTTP/2.
Attachments
Issue Links
- links to