Skip to content

When specifying "No Body" a Content-Type header is still sent #6486

@sam080964

Description

@sam080964

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

2.14.2

Operating System

windows 11

Describe the bug

#1693
this issue still appears to be present in the Bruno CLI client as of version 2.14.2. We are curently using body:json with no JSON body for every endpoint that fails without that. It appears to default to setting a request body of type application/x-www-form-urlencoded even though the files say body:null. Can you check this please?

.bru file to reproduce the bug

No response

Screenshots/Live demo link

#1693

Metadata

Metadata

Labels

bugSomething isn't workinghas-pr

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions