[GH-ISSUE #1433] map local report "Invalid Content-Length Header", but there is no content-length #1428

Open
opened 2026-03-03 19:51:26 +03:00 by kerem · 3 comments
Owner

Originally created by @sinoon on GitHub (Nov 12, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1433

Originally assigned to: @NghiaTranUIT on GitHub.

Description

Steps to Reproduce

image

Current Behavior

show error with Invalid Content-Length header....

Expected Behavior

no error, or A message that can be understood.

Environment

  • App version: e.g Proxyman 3.9.0
  • macOS version: e.g macOS Monterey
Originally created by @sinoon on GitHub (Nov 12, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1433 Originally assigned to: @NghiaTranUIT on GitHub. ## Description <!--- Description for the bug? --> ## Steps to Reproduce <!-- Add relevant code and/or a live example --> <img width="955" alt="image" src="https://user-images.githubusercontent.com/6065488/201481697-b4c0c686-867e-4651-aad4-18fbd8dee41f.png"> ## Current Behavior show error with Invalid Content-Length header.... <!--- What went wrong? --> ## Expected Behavior no error, or A message that can be understood. <!--- What should have happened? --> ## Environment - App version: e.g Proxyman 3.9.0 - macOS version: e.g macOS Monterey
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 13, 2022):

@sinoon can you export this Map Local Rule and share it with me via support@proxyman.io ? I'd like to investigate why it shows this error 👍

<!-- gh-comment-id:1312717563 --> @NghiaTranUIT commented on GitHub (Nov 13, 2022): @sinoon can you export this Map Local Rule and share it with me via support@proxyman.io ? I'd like to investigate why it shows this error 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 16, 2022):

@sinoon Let's remove the Transfer-Encoding: chunked, it causes the bug.

I will automatically remove this header from the Response.

<!-- gh-comment-id:1316156167 --> @NghiaTranUIT commented on GitHub (Nov 16, 2022): @sinoon Let's remove the `Transfer-Encoding: chunked`, it causes the bug. I will automatically remove this header from the Response.
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 16, 2022):

If you create a Map Local file by right-clicking on the Request -> Tools -> Map Local -> It automatically clears some invalid headers.

However, if you manually select the file from your Mac, it doesn't clear.

<!-- gh-comment-id:1316169831 --> @NghiaTranUIT commented on GitHub (Nov 16, 2022): If you create a Map Local file by right-clicking on the Request -> Tools -> Map Local -> It automatically clears some invalid headers. However, if you manually select the file from your Mac, it doesn't clear.
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#1428
No description provided.