[OH-Dev] [issue667] Safari appends ".txt" to tutorial's python script's name
Will Smith
bugs at openhatch.org
Sun Apr 20 20:41:57 UTC 2014
Will Smith <wsmith85 at gmail.com> added the comment:
Confirmed that if trying to download in Safari, after navigating to page (clicking the link in question
first), right clicking on the page and choosing "Save Page As..." Multiple options need to be changed
to download the file properly.
The default is to download as a web archive. Then even if you change that to page source, you get
prompted again to append ".txt" to the file name. You must choose "Don't Append" to get the
desired result.
I updated the instructions on the wiki instructing the user to right click the link directly and choose
a "Save As" option. I used the text from 4 different current browsers in the instructions (Safari on
Mavericks, Firefox on Mavericks, Chrome on Mavericks, and Internet Explorer 11 on Windows 8).
The alternatives would be to host the file on a server where we could control the server's response
headers and set the content disposition header. Reference here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html and here:
http://www.symkat.com/force-download-with-http-headers
----------
assignedto: -> individuwill
nosy: +individuwill
status: chatting -> need-review
__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue667>
__________________________________________
More information about the Devel
mailing list