mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2121] [bug]: cannot override Content-Type #712
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#712
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 @lapo-luchini on GitHub (Feb 16, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2121
Originally assigned to: @anwarulislam on GitHub.
Is there an existing issue for this?
Current behavior
I need to send a WSDL request as
text/xml, but that's not available from the drop-down types, so I choseapplication/xmland tried overriding it in the Headers section. The request is still sent asapplication/xmland not with the header I requested.Steps to reproduce
application/xmland paste an XML contentContent-Type: text/xmlapplication/xmlwas still used as a typeEnvironment
Production
Version
Cloud
@mogarick commented on GitHub (Mar 4, 2022):
I'm in a similar situation.
I've just discovered Hoppscotch but the first test was for getting an AWS Cognito token.
For that purpose I need to send a
Content-Type: application/x-amz-json-1.1.Sadly Hoppsotch overrides my header with the on the Body tab (In my case
Content-Type: application/jsonso I get a Cognito error:Is this considered a high priority bug to solve or I better get back to Postman and come back in a few weeks/months?
Thank you in advance for the attention :)
@leoryu commented on GitHub (Mar 15, 2022):
I also met this issue.
In my case, I want to send with header
Content-Type: application/merge-patch+json, but this header will be overwritten with the header inBodysection.