Comment by masklinn

14 years ago

I don't know a browser which does not do that. They need to start the download to get the metadata (file name and type), and they'll do it if only because shitty servers may react very badly to the browser just stopping with a full socket buffer.

They don't need to start it to get the metadata. All that's sent is the content-disposition header with the suggested file name.

  • > They don't need to start it to get the metadata. All that's sent is the content-disposition header with the suggested file name.

    That is the start, unless you perform a HEAD followed by a GET (which takes 2 round-trips instead of one and may not even be correctly supported). And because any link can lead to that, every single link you click would have to be implemented via 2 round-trips, that's complete madness.

    > All that's sent is the content-disposition header with the suggested file name.

    Nonsense, there is no situation in which "all that's sent is the content-disposition header", that header is part of a full header section and immediately precedes the content itself.