The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

gzip in request

manuel | Last updated: Jun 17, 2016 07:20AM UTC

Im assessting a mobile application that sends HTTP requests compressed. I have activated the check "proxy>options>miscelaneous>unpack gzip/deflate requests". But, when the request is unpacked, the request has still the header 'application/x-gzip', so the server does not accept the request because the content is not compressed. As a workarround I have set a replace rule of 'application/x-gzip' for 'text/html'. Another possible solution would be compressing again the request before sending it. Thanks, Manuel

PortSwigger Agent | Last updated: Jun 17, 2016 08:02AM UTC

Burp ought to re-write relevant headers when it has unpacked compressed body content. Please can you let us have the full headers that you see with the unpack option turned off, and also the full headers that you see with the option turned on? Thanks.

Hannah, PortSwigger Agent | Last updated: Sep 01, 2020 09:53AM UTC