ProxymanApp / ProxymanApp/Proxyman

[BUG] Scripting: Get warning when making a multipart request

Open
#2,138 5 comments 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Sep 20, 2024.

✅ Done bug
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

The Script will show this Warning note in the Console if the request has multipart body.

----------------------------------
09:39:01.566: [onRequest] with Request ID=17
https://httpbin.proxyman.app/post?action=form
❌ Error: Missing Content-Type Header. Attempt to guess the Content-Type from the body!
09:39:01.582 onRequest() is executed!

Steps to Reproduce

  1. Create a Script for some requests
  2. Make a multipart request

Current Behavior

  • Get error note in the console log
  • Even though the request is called successfully

Expected Behavior

  • Should now show this error because there is the Content-Type header in the Request
  • Multipart Request should work with the Script

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.