khttp icon indicating copy to clipboard operation
khttp copied to clipboard

Case insensitive headers

Open cosmin-marginean opened this issue 5 years ago • 1 comments

I found an issue with cookie extraction on our test environment: Evaluate

Upon further investigation, we realised the issue has to do with the set-cookie header (and potentially other headers?) not being treated in a case insensitive manner.

I presume the culprit is here https://github.com/jkcclemens/khttp/blob/master/src/main/kotlin/khttp/responses/GenericResponse.kt#L35 and it should be easy to patch (happy to provide a PR if that's acceptable).

cosmin-marginean avatar Jul 22 '19 18:07 cosmin-marginean

Why is this still not fixed yet?

ArjixWasTaken avatar Sep 02 '21 10:09 ArjixWasTaken