ProxymanApp / ProxymanApp/Proxyman

Improve Map Local Directory that allows override HTTP Headers

Open
#608 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Map Local Directory response construction and its default Content-Length, Content-Type, and X-Proxyman-Local headers. Trace how the macOS editor handles mapped responses, then verify that an editor can override response headers and that the resulting response supports CORS.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.