mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #608] Improve Map Local Directory that allows override HTTP Headers #605
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#605
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 @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
@NghiaTranUIT commented on GitHub (Sep 15, 2020):
To work around, we can combine Map Local Directory and the Scripting feature 👍