Skip to content

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

@gbaso

Description

@gbaso

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-bugBug: general classificationS-unverifiedStatus: Unverified by maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions