[GH-ISSUE #847] Make X-Proxyman-Scripting Header optional #842

Open
opened 2026-03-03 19:22:20 +03:00 by kerem · 5 comments
Owner

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!

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!
Author
Owner

@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? 🤔

<!-- gh-comment-id:813423668 --> @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? 🤔
Author
Owner

@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!

<!-- gh-comment-id:813429731 --> @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!
Author
Owner

@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)

<!-- gh-comment-id:813431212 --> @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)
Author
Owner

@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 👍

Screen_Shot_2021-04-06_at_09_34_52
<!-- gh-comment-id:813784735 --> @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 👍 <img width="702" alt="Screen_Shot_2021-04-06_at_09_34_52" src="https://user-images.githubusercontent.com/5878421/113652434-fc407480-96bd-11eb-98e0-6755708c40e3.png">
Author
Owner

@apvlv commented on GitHub (Apr 6, 2021):

Can confirm that it is working as expected! Thanks @NghiaTranUIT ! 👍

<!-- gh-comment-id:813885701 --> @apvlv commented on GitHub (Apr 6, 2021): Can confirm that it is working as expected! Thanks @NghiaTranUIT ! 👍
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#842
No description provided.