| Tests interception blocking, modification of network fetches. |
| Test started |
| Network agent enabled |
| Request interception enabled |
| Page agent enabled |
| Runtime agent enabled |
| Request Intercepted: ping-redirect.php |
| responseErrorReason: undefined |
| responseStatusCode: undefined |
| responseHeaders: <None> |
| responseBody: |
| error: Can only get response body on requests captured after headers received. |
| Continue request unchanged. |
| |
| Request Intercepted: ping-redirect.php |
| responseErrorReason: undefined |
| responseStatusCode: 307 |
| responseHeaders: |
| Cache-Control: no-cache, must-revalidate |
| Connection: Keep-Alive |
| Content-Length: 0 |
| Content-Type: text/html |
| Date: <Masked> |
| Expires: <Masked> |
| Keep-Alive: <Masked> |
| Location: ping-redirected-page.html |
| Pragma: no-cache |
| Server: <Masked> |
| redirectUrl: ping-redirected-page.html |
| responseBody: |
| error: Can only get response body on requests captured after headers received. |
| Modifying request with new body. |
| |
| Body content received by renderer: |
| <html> |
| <body>This content was rewritten!</body> |
| </html> |
| |