Skip to content

Repeated Headers Get Dropped #321

@bjsvedin

Description

@bjsvedin

Version:

V0.36.0

The Issue:

When you add multiple headers to a request with the same key, only the last one will make it into the request. Restfox does deal with the case insensitivity correctly, so even with multiple case values in the keys only the last one will be added to the request.

Steps to reproduce:

  • Create a request to any valid HTTP server
  • Add two headers with the same key "X-Custom-Header" and with distinct values
  • Send the request and view the log in the Timeline tab or the output in the Request tab.
  • You will find that only the second header will be shown is shown, and the server will only get the second one.

Expected Results:

Both header entries will show up as distinct headers in the request.

The HTTP standard does support multiple values under the same key, either as separate entries or a list of comma separated values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions