postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

Postman not sending the automatically generated Content-Type header

Open lscown opened this issue 1 year ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When attempting to send a multipart/form-data file, the auto-generated Content-Type header is not sent through to the server, however if I set one manually, it is.

Oddly, this worked just once, and then every request afterwards does not contain the auto-generated Content-Type.

Steps To Reproduce

  1. Set up a multipart request, do not populate Content-Type key/value.
  2. Upload a file in form-data, making sure a new Content-Type header is populated
  3. Send request

A side effect of this, I can't seem to upload anymore files either. I saved the file to the team, if that causes issues.

Screenshots or Videos

Screenshot 2024-02-19 at 4 20 29 PM Screenshot 2024-02-19 at 4 20 10 PM

Operating System

macOS

Postman Version

10.23.1-240213-0704

Postman Platform

Postman Web

User Account Type

Signed In User

Additional Context?

No response

lscown avatar Feb 19 '24 03:02 lscown