Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML body should set IANA-approved Content-Type #8130

Open
1 task done
gbaso opened this issue Oct 25, 2024 · 0 comments · May be fixed by #8131
Open
1 task done

YAML body should set IANA-approved Content-Type #8130

gbaso opened this issue Oct 25, 2024 · 0 comments · May be fixed by #8131
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@gbaso
Copy link

gbaso commented Oct 25, 2024

Expected Behavior

When selecting a yaml body, the Content-Type header should be populated with application/yaml, according to RFC 9512.

Actual Behavior

Content-Type is text/yaml, which is a deprecated alias.

Reproduction Steps

  1. Create a new HTTP Request
  2. Click on Body
  3. Select YAML type

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

10.1.1

What operating system are you using?

macOS

Operating System Version

macOS Sequoia 15.0.1

Installation method

download from insomnia.rest

Last Known Working Insomnia version

No response

@gbaso gbaso added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Oct 25, 2024
XSPGMike added a commit to XSPGMike/insomnia that referenced this issue Oct 26, 2024
fix deprecated YAML mime-type alias, left in constants for reference
@XSPGMike XSPGMike linked a pull request Oct 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant