[GH-ISSUE #3685] [bug]: Setting body type to none sets the content type in the request to application/x-www-form-urlencoded #1274

Closed
opened 2026-03-16 19:34:11 +03:00 by kerem · 2 comments
Owner

Originally created by @flleeppyy on GitHub (Dec 21, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3685

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When setting the body type to none, the request headers become "Content-Type: application/x-www-form-urlencoded", when it should be removing "Content-Type" from the request headers.

This behavior only happens without an interceptor selected.

Steps to reproduce

image
image

Environment

Production

Version

Cloud

Originally created by @flleeppyy on GitHub (Dec 21, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3685 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When setting the body type to none, the request headers become "Content-Type: application/x-www-form-urlencoded", when it should be removing "Content-Type" from the request headers. This behavior **only happens** without an interceptor selected. ### Steps to reproduce ![image](https://github.com/hoppscotch/hoppscotch/assets/18307183/57b2b629-3a63-46bf-ae5a-39495a394aef) ![image](https://github.com/hoppscotch/hoppscotch/assets/18307183/5cf2d6dd-5990-4f02-a1c7-03ce18ac49c5) ### Environment Production ### Version Cloud
kerem 2026-03-16 19:34:11 +03:00
Author
Owner

@liyasthomas commented on GitHub (Dec 21, 2023):

@AndrewBastin can you look into this?

<!-- gh-comment-id:1866556361 --> @liyasthomas commented on GitHub (Dec 21, 2023): @AndrewBastin can you look into this?
Author
Owner

@anwarulislam commented on GitHub (Mar 5, 2025):

The issue regarding the bug where setting the body type to none inadvertently sets the content type in the request to application/x-www-form-urlencoded has been addressed and resolved. This issue is now considered closed and no longer exists.

<!-- gh-comment-id:2700720665 --> @anwarulislam commented on GitHub (Mar 5, 2025): The issue regarding the bug where setting the body type to none inadvertently sets the content type in the request to application/x-www-form-urlencoded has been addressed and resolved. This issue is now considered closed and no longer exists.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1274
No description provided.