Re: wwwoffle make GET from HEAD

amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop)
Newsgroups gmane.network.wwwoffle.user
Message-ID <[email protected]>
Juliusz Chroboczek <[email protected]> writes:

> > > This is a problem, because my browser makes a HEAD before downloading a
> > > file and makes in a second call the GET. I use "lock-file = yes". On big
> > > files the second call is denied from getting the file, because its locked
> > > by the first HEAD call.
> 
> > What browser are you using that makes a HEAD request followed by a GET
> > request?
> 
> Both IE and Mozilla-derived browsers do that on file downloads (that's
> how they can display the file size and the MIME type in the ``save
> as'' dialog).

Firefox doesn't show the size of mime type in the save-as dialog box
for me.

Why can't they use a GET request and start downloading in the
background.  This is what I thought that they did anyway.  Making a
HEAD request and then a normal request seems rather pointless to me
(since the resource could change size or mime-type between the two
requests).

The best option would then seem to be that when online a HEAD request
to WWWOFFLE is a non-cached HEAD request to the end server (unless the
cached page is new enough not to make the request).  It seems a
strange way for the browser to work, but I can't think of a better
work-around for WWWOFFLE.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.