Changes between Version 5 and Version 6 of Ticket #1901
- Timestamp:
- 2014-03-05T02:55:32Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1901 – Description
v5 v6 24 24 After which the server sends the contents of the text file, along with header {{{Content-Type: text/plain}}} and no {{{Content-Disposition}}} header, and so the browser displays the contents of the file in the browser window. 25 25 26 To close this ticket, make it so that the last request issued by the browser uses the third form for [source: git/docs/frontends/webapi.rst?rev=05d0b8b5b9247e1d0541e58250a81df89d5c9115#viewing-downloading-a-file "Viewing/Downloading a File"], i.e. instead of {{{/uri/$CAP?filename=testdown3.txt}}}, it should request {{{/named/$CAP/filename=testdown3.txt?save=true}}}. I just tested and confirmed that this makes the server include the {{{Content-Disposition}}} header, but {{{/named/$CAP/filename=testdown3.txt?save=true}}} does not.26 To close this ticket, make it so that the last request issued by the browser uses the third form for [source:docs/frontends/webapi.rst?rev=05d0b8b5b9247e1d0541e58250a81df89d5c9115#viewing-downloading-a-file "Viewing/Downloading a File"], i.e. instead of {{{/uri/$CAP?filename=testdown3.txt}}}, it should request {{{/named/$CAP/filename=testdown3.txt?save=true}}}. I just tested and confirmed that this makes the server include the {{{Content-Disposition}}} header, but {{{/named/$CAP/filename=testdown3.txt?save=true}}} does not.