[GH-ISSUE #421] A request with the error Content-Type blocked and could not display the body #420

Closed
opened 2026-03-03 19:50:30 +03:00 by kerem · 1 comment
Owner

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"
image

Expected Behavior

The request executes normally and the body is displayed normally

Environment

  • App version: 2.15.0
  • Windows/Linux version: Windows 10 Enterprise Edition
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" ![image](https://github.com/user-attachments/assets/4e966368-ef43-43a1-bcc3-96322967302f) ## Expected Behavior The request executes normally and the body is displayed normally ## Environment - App version: 2.15.0 - Windows/Linux version: Windows 10 Enterprise Edition
kerem 2026-03-03 19:50:30 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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.

<!-- gh-comment-id:2292659314 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxyman-windows-linux#420
No description provided.