mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 09:05:54 +03:00
[GH-ISSUE #847] Make X-Proxyman-Scripting Header optional #842
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#842
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 @apvlv on GitHub (Apr 5, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/847
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
2.22.0
macOS Version? (Ex. mac 10.14)
11.2.3
Steps to reproduce
Use Scripting feature and try to
delete request.headers["X-Proxyman-Scripting"];Expected behavior
Will be deleted from request / response like other X-Proxyman-Key headers but this one stays in place.
Screenshots (optional)
Thank you!
@NghiaTranUIT commented on GitHub (Apr 5, 2021):
Thanks for opening the ticket. I will add this option to Preference, then we can opt out this behavior.
Just wondering @andrej-pavlov, why do you need to remove the
X-Proxyman-Scripting? Does it affect your test? 🤔@apvlv commented on GitHub (Apr 5, 2021):
Thank you very much for your prompt answer and adding it to the dev schedule! While it's useful to have auto added proxyman headers to identify test requests, I find it convenient to have an option for a clean request for mocking. I though not have a case where it would affect the tests. Thank you again for a wonderful tool!
@NghiaTranUIT commented on GitHub (Apr 5, 2021):
Thanks for the clarification. I understand your need 👍
I will add this option in the next release, so all Proxyman's headers will be omited (in Breakpoint, Scripting, Map Local and Map remote too)
@NghiaTranUIT commented on GitHub (Apr 6, 2021):
@andrej-pavlov please check out this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.22.0_Opt_Out_Proxyman_Headers.dmg
You can uncheck this behavior in Preference -> Advanced Tab 👍
@apvlv commented on GitHub (Apr 6, 2021):
Can confirm that it is working as expected! Thanks @NghiaTranUIT ! 👍