hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Desktop App [v2023.12.6] - Empty header key/value variable prevent to send request

AntoninHuaut opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I have multiple environments and some need a header key with a header value. But my requests collections are the same. To handle it, all my environments have the header key and the header value as variable, but for the environment or is not useful, these values are empty.
The problem is, having empty header key/value prevent the request to be sent by Hoppscotch.

Example without the header:
image

Example with the header:
image

This is working with Postman, so skipping empty headers may be interesting to add.

Steps to reproduce

  1. Create a environment variable with no data
  2. Use it as header parameter
  3. The request is not sent

Environment

Release (Desktop app v2023.12.6)

Version

Local