blob: c0f469d8def7cca4d6ef63be392a325adfdc4322 [file] [log] [blame]
Tests that downloads are correctly identified when intercepting navigation responses.
Regular navigation:
Intercepted http://127.0.0.1:8000/devtools/network/resources/resource.php, download: false
Download via content-disposition:
Intercepted http://127.0.0.1:8000/devtools/network/resources/resource.php?download=1, download: true
Download via unhandled MIME type:
Intercepted http://127.0.0.1:8000/devtools/network/resources/resource.php?mime_type=application/octet-stream, download: true
Now downloading by clicking a link:
Intercepted http://127.0.0.1:8000/devtools/network/resources/resource.php, download: true