You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice, if it also picked up the server-provided name, provided through Content-Disposition (for "downloads").
E.g. save to test.zip, for a Content-Disposition: attachment; filename="test.zip" (similar to what curl's --remote-name --remote-header-name does)
The text was updated successfully, but these errors were encountered:
mbronk
changed the title
"Save Response Body" to honor Content-Disposition
"Save Response Body" to get output filename from Content-Disposition (if available)
Nov 14, 2021
Currently, the Save Response Body option does auto-pick an extension based on Content-Type
Ref:
vscode-restclient/src/views/httpResponseWebview.ts
Line 147 in 98fcad2
It would be nice, if it also picked up the server-provided name, provided through Content-Disposition (for "downloads").
E.g. save to test.zip, for a
Content-Disposition: attachment; filename="test.zip"
(similar to what curl's --remote-name --remote-header-name does)The text was updated successfully, but these errors were encountered: