[GH-ISSUE #608] Improve Map Local Directory that allows override HTTP Headers #605

Open
opened 2026-03-03 19:20:17 +03:00 by kerem · 1 comment
Owner

Originally created by @NghiaTranUIT on GitHub (Aug 31, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/608

Description

Currently, if the requests are matched with a local file (Map Directory), Proxyman will construct the Response with default Headers (Content-Lenth, Content-Type, and X-Proxyman-Local). It works fine in many situations, but it doesn't work if the site supports CROS. Thus, the browser might rejects the response.

We should improve the Map Local Directory that allows overriding HTTP Headers, so it would fix all scenarios.

Acceptance Criteria

  • Add Editor to Map Local Directory, so the user can override the HTTP Header of the Response
Originally created by @NghiaTranUIT on GitHub (Aug 31, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/608 ### Description Currently, if the requests are matched with a local file (Map Directory), Proxyman will construct the Response with default Headers (Content-Lenth, Content-Type, and X-Proxyman-Local). It works fine in many situations, but it doesn't work if the site supports CROS. Thus, the browser might rejects the response. We should improve the Map Local Directory that allows overriding HTTP Headers, so it would fix all scenarios. ### Acceptance Criteria - Add Editor to Map Local Directory, so the user can override the HTTP Header of the Response
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 15, 2020):

To work around, we can combine Map Local Directory and the Scripting feature 👍

<!-- gh-comment-id:692458604 --> @NghiaTranUIT commented on GitHub (Sep 15, 2020): To work around, we can combine Map Local Directory and the Scripting feature 👍
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#605
No description provided.