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

Match & replace HTTP/2

Luigi | Last updated: Apr 21, 2022 11:24AM UTC

Hello everybody, I want to replace HTTP/2 in the request with this value, HTTP/1.1 I added this rule: Type: Request first line Match: HTTP/2 Replace: HTTP/1.1 Regex match: flagged Unfortunately, this rule doesn't work, Do you have any advice? Thanks

Hannah, PortSwigger Agent | Last updated: Apr 21, 2022 12:19PM UTC

Hi Are you trying to disable HTTP/2 traffic going through the proxy? If so, you will want to go to "Proxy > Options > Proxy listeners > Edit > HTTP" and uncheck the box that says "Support HTTP/2".

Luigi | Last updated: Apr 21, 2022 01:07PM UTC

Hi, I done this operation (to disable HTTP/2) but the request performed is always in HTTP2. For this reason I want replace HTTP/2 in the request.

Luigi | Last updated: Apr 21, 2022 01:34PM UTC

Small update: the rule I wrote seems to work. I can capture .js pages but i don't capture html traffic. Anyone have any ideas?

Hannah, PortSwigger Agent | Last updated: Apr 22, 2022 08:50AM UTC