XHR/POST form-data: lower-case Content-Type

Not reproducible Issue #12174370

Details

Author
Peter H.
Created
May 30, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

An XHR is used to send a file via POST:

  • Use FormData.append in order to add form name and file name to blob data
  • Add Authorization header to request
  • Send request

On PC (Win 14393) “Content-Type” will be transmitted with capital "C".
On Phone (Win 15063) “content-Type” will be transmitted with lower-case "c". The web server will answer "400 Bad Request".

Trying to manually add Content-Type will cause Edge to remove the “boundary” parameter from the request.

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. Unfortunately, we are unable to reproduce this problem in Edge with the information at hand. Please update this case when you can provide more details, such as a sample website and repro steps.

    Best Wishes,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Not reproducible”

You need to sign in to your Microsoft account to add a comment.

Sign in