mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4101] [bug]: Content-Type is not overriden by header when use Hoppscotch CLI #1466
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#1466
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 @georgelvov on GitHub (Jun 3, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4101
Originally assigned to: @jamesgeorge007 on GitHub.
Is there an existing issue for this?
Current behavior
Content-Type of the body is not overriden by Content-Type header using hoppscotch CLI, but using Hoppscotch UI it works.
Steps to reproduce
In the hoppscotch UI:
application/merge-patch+json{"a": "a"}(to set body you are obliged to choose content-type. Since there is notapplication/merge-patch+json, chooseapplication/json)In hoppscotch CLI:
hopp test your_collection.jsonEnvironment
Production
Version
Local
@jamesgeorge007 commented on GitHub (Aug 8, 2024):
This is patched in Hoppscotch CLI v0.10.2. Please let us know if the issue persists.