This repository was archived by the owner on Apr 4, 2022. It is now read-only.
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
Header application order (and/or special case for User-Agent) #113
Open
Description
I noticed that here the headers are applied in reverse order.
This may well have further reaching implications, but it seems to do the wrong (or at least an unexpected) thing in the following scenario
import scalaj.http._
Http("http://user.agent").header("User-Agent", "i-expect-this-to-override-the-default")
// the User-Agent the server receives will still be the default (scalaj-http/1.0)
Metadata
Metadata
Assignees
Labels
No labels