Skip to content
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
@emanresusername

Description

@emanresusername

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions