[GH-ISSUE #942] [BUG] Content-Length is added when proxying data to the server #937

Open
opened 2026-03-03 19:23:09 +03:00 by kerem · 1 comment
Owner

Originally created by @NghiaTranUIT on GitHub (Jul 22, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/942

Originally assigned to: @NghiaTranUIT on GitHub.

Description

For some reason, Proxyman adds the Content-Length: 0 header on POST Request (Empty Body) before proxying to the server. We should find a way to prevent it.

Acceptance Criteria

  • Proxyman should not add Content-Length Header to the request.
Originally created by @NghiaTranUIT on GitHub (Jul 22, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/942 Originally assigned to: @NghiaTranUIT on GitHub. ### Description For some reason, Proxyman adds the `Content-Length: 0` header on POST Request (Empty Body) before proxying to the server. We should find a way to prevent it. ### Acceptance Criteria - Proxyman should not add Content-Length Header to the request.
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 23, 2021):

SwiftNIO: https://github.com/apple/swift-nio/issues/1915

<!-- gh-comment-id:885548318 --> @NghiaTranUIT commented on GitHub (Jul 23, 2021): SwiftNIO: https://github.com/apple/swift-nio/issues/1915
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#937
No description provided.