firecamp-io / firecamp

VSCode for APIs, Postman Alternative.
https://firecamp.dev
317 stars 22 forks source link

Allow for sending multiple header fields of the same name #76

Open pavelsaman opened 4 years ago

pavelsaman commented 4 years ago
  1. problem

Firecamp doesn't seem to be able to send multiple header fields of the same name.

  1. steps to reproduce

create a new API request => add multiple header fields with the same name => send the request

  1. current behaviour

Firecamp chooses the last header field from the list and uses it in the request:

image

  1. desired behaviour

Some header fields could be used multiple times in a valid request (they could be later combined into a single list). Even if multiple header fields make an invalid request (as in sending multiple Content-Length header fields with different values), it would still be nice if Firecamp allowed for sending such a header section since users might want to use Firecamp to test their server implementations where sending malformed requests is part of such testing.

  1. version

Snap v1.0.0