Kong / Kong/insomnia

Content type text/other is broken

Open
#3,484 5 comments 0 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

**Describe the bug**
Switching Content Type "text/othe"r on Insomnia POST requests has no effect on Content Header.

**To Reproduce**
* Create a POST Request in Insomnia and select the Content Type (e.g. text/edn)
* Switch the Content Type to text/other
* Submit your request
* check Request timeline
* Content Type stays "text/edn"

![grafik](https://user-images.githubusercontent.com/86047904/122365742-39956e00-cf5b-11eb-8905-11aadf914aef.png)

**Expected behavior**
My expectation is that when i explicitely select the content header, there is a modification on submitted content header.
Option 1) clear the content header field in request
Option 2) because the option "other" is grouped under "text": set text/plain as Content-Header field
![grafik](https://user-images.githubusercontent.com/86047904/122365072-a6f4cf00-cf5a-11eb-9902-e125ed90714d.png)

I prefer Option 2

**Screenshots**
see above

**Desktop (please complete the following information):**
- OS: Windows 10
- Installation Method: Traditional Autoupdate
- App Version 2021.03.0

**Additional context**
nothing

Thanks in advance

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Reproduce the issue by creating an Insomnia POST request, selecting a content type such as text/edn, switching to text/other, submitting it, and checking the request timeline. Done means the submitted Content-Type changes as specified when text/other is selected, preferably to text/plain.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.