mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #765] Empty header in headers list results in SyntaxError: Failed to execute 'setRequestHeader' #270
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vadistic on GitHub (Apr 13, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/765
Describe the bug
When the empty header is present in headers list in graphql tab any call results in syntaxt error.
To Reproduce
Expected behavior
I would expect empty headers to be ignored.
I think it's quite common to e.g. add header an forgot about it later, or click "Add header" too many times - when testing something on the run - which I believe what postwoman is for.
In case empty header field is no-go, then I would expect this error to be handled.
I've searched for a bit, but I do not believe there's issue about it - so I thought I would let you know
Cheers!