mirror of
https://github.com/ProxymanApp/proxyman-windows-linux.git
synced 2026-04-27 08:55:50 +03:00
[GH-ISSUE #421] A request with the error Content-Type blocked and could not display the body #420
Labels
No labels
Linux
bug
enhancement
enhancement
pull-request
question
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxyman-windows-linux#420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ouzezh on GitHub (Aug 2, 2024).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/421
Description
A request with the error Content-Type blocked and could not display the body.
Steps to Reproduce
1.enable script with host www.baidu.com
2.create a post request https://www.baidu.com
3.set Content-Type : application/json;charset=UTF-8
4.set Illegal json format body: abc
5.click send request
Current Behavior
The request is blocked, and the request body is "Empty Body"

Expected Behavior
The request executes normally and the body is displayed normally
Environment
@NghiaTranUIT commented on GitHub (Aug 16, 2024):
It's expected behavior. Since you're using the Scripting, your JSON is invalid, so it can't parse the JSON -> Won't show the body.