Skip to content

Local Map with status_code #282

@NghiaTranUIT

Description

@NghiaTranUIT

🐶 Brief

Some users would like to change the Status code of response by doing Map Local. Although we could do it by Breakpoint, but it's waste of time when manipulating ever single time.

My first idea is that we support $status_code=xxx in the first line of local file, and the second line is normal JSON. Then Proxyman will pick it up and replace the HTTPS Response Code.

If this status line isn't existed, just treat the file as usual.

By following this approach, we can quickly change the status code by Sublime and doesn't bother any UI.

👑 Criteria

  • Read $status_code in Local file
  • Able to change the Response Code

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions