postman-app-support
postman-app-support copied to clipboard
Accept Encoding value is not as per RFC standard
trafficstars
Is there an existing issue for this?
- [x] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
The Accept-Encoding header value in POSTman API is not as per RFC standard as mentioned here. The value should be only gzip, not application/gzip The request is also sent with Accept-Encoding: application/gzip The server sends the data uncompressed if this header is sent as application/gzip Not sure if this is expected/intentional
Steps To Reproduce
- Create a new request
- Under Headers tab, select Accept-Encoding as key
- type gzip in value text box
Screenshots or Videos
Operating System
Windows
Postman Version
10.23.5
Postman Platform
Postman App
User Account Type
Signed In User
Additional Context?
No response
Clarifying what @raghumirajkar reported:
The default set is gzip, deflate, br
The problem only occurs if this header is overridden and the first value is blindly chosen: