"Content-Encoding: gzip" is not being added to the response header for some reason.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- macos
- Domain
- desktop, networking
Research direction
Start with response scripting and the built-in gzip plugin described in the report; reproduce the header change while parsing and stringifying the JSON response. Check whether the response header is preserved when the response is sent, and consider the issue done when Content-Encoding: gzip is delivered to the device as expected.
Written by the indexing model from the issue text.
Description
Description
Due to the nature of the application I'm trying to proxy, it requires this header to be set even if the response data isn't actually inflated.
I can confirm I can add any other custom header except for that header.
Steps to Reproduce
- Attempt to modify response headers
- Add some new JSON data to the response body by parsing then stringifying
Current Behavior
In response scripting, adding response.headers["Content-Encoding"] = "gzip"; before modifiying the response body by parsing, commiting the changes to the body and stringifying to finally send back seems to programmatically modify the response headers, but it doesn't actually send that header back.
I've tried the builtin gzip plugin to try inflating the data before sending it to see if automatically adds that header but it doesn't.
Expected Behavior
The header should've been added and sent back to the device.
Environment
- App version: Proxyman Version 5.7.0 (50700)
- macOS version: Version 13.2.1 (Build 22D68)
- Dominant language
- No language data
- Stars
- 7k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ProxymanApp/Proxyman
-
✅ Done enhancement
ProxymanApp/Proxyman#2772 · 1 comment · 1 assignee ·
-
✅ Done enhancement
ProxymanApp/Proxyman#2771 · 1 comment · 1 assignee ·
-
bug
ProxymanApp/Proxyman#2770 · 1 assignee ·
-
✅ Done bug
ProxymanApp/Proxyman#2769 · 2 comments · 1 assignee ·
-
✅ Done enhancement
ProxymanApp/Proxyman#2768 · 1 comment · 1 assignee ·
All issues in ProxymanApp/Proxyman
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
extension extension: raycast-system-monitor feature request platform: macOS
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
raycast/extensions#31335 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AvengeMedia/DankMaterialShell#3520 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100