[PR #3902] [CLOSED] [bug]: Setting body type to none sets the content type in the request to application/x-www-form-urlencoded #3685 #4579

Closed
opened 2026-03-17 02:06:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3902
Author: @ialloyd
Created: 3/16/2024
Status: Closed

Base: mainHead: fix/content-type-none-issue


📄 Description

This PR addresses an issue where the 'Content-Type' header was incorrectly set to 'application/x-www-form-urlencoded' when the body type was set to 'none'. The changes ensure that the 'Content-Type' header is removed as expected in this scenario.

I would appreciate if you could review the changes and provide your valuable feedback. Thank you!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3902 **Author:** [@ialloyd](https://github.com/ialloyd) **Created:** 3/16/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/content-type-none-issue` --- ### 📄 Description This PR addresses an issue where the 'Content-Type' header was incorrectly set to 'application/x-www-form-urlencoded' when the body type was set to 'none'. The changes ensure that the 'Content-Type' header is removed as expected in this scenario. I would appreciate if you could review the changes and provide your valuable feedback. Thank you! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:06:07 +03:00
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#4579
No description provided.