-
-
Notifications
You must be signed in to change notification settings - Fork 337
Open
Description
The HTTP Content-Location and Content-Disposition headers are currently unsupported. Many download scripts on the server side serve files this way, which means that it's cookie/session dependent and, more importantly, might not be reproducible for other users depending on what the session returned.
In order to minimize the amount of potential reproducibility issues, the current plan is to treat files serving these types of contents as URLs that redirect, and that these files themselves do not serve any content.
Necessary stealth/Request modifications:
-
Content-Locationshould fire aredirectfor the current URL (including its parameters). - If
Content-Dispositionisinline, delete the header and ignore it. - If
Content-Dispositionisattachment, parse outfilename=parameter, append it to the current URL, and fire aredirectevent. - If
Content-Dispositionisattachment, and bothfilename*andfilenameare present as a parameter, deletefilename*. - If
Content-Dispositionisattachment, and onlyfilename*is present as a parameter, parse out the header value according to RFC5987.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels