21:15
<The-Compiler>
Not directly related to the WhatWG, but is there some document saying how I should handle file downloads when writing a browser? E.g. in most cases I already get the open network reply and I'm asking the user for a filename - if I don't start reading the reply before the user decided on a name, the server might close the connection. Should I just start downloading to a temporary file and then rename that when
21:15
<The-Compiler>
the user entered a filename? Should I slowly download to RAM?
21:51
<Domenic>
The-Compiler: I believe that most implementations use a temporary file anyway, so that users don't have partial downloads with the name they've given.
22:03
<The-Compiler>
Domenic: that's true, but those are already in the directory the user choosed I believe. I guess downloading a whole download to /tmp isn't a good idea either, as users might have that on a ramdisk.
22:04
<Domenic>
The-Compiler: my browsers download to /tmp
22:10
<The-Compiler>
Domenic: I just took a look at Firefox with strace - if I understand it correctly, it starts downloading to /tmp and then switches over to the real destination folder when the filename is entered
22:48
<gsnedders>
TabAtkins: happy birthday!