Re: wwwoffle make GET from HEAD
Joerg Sommer <[email protected]>
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Andrew M. Bishop <amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected]> wrote: > Joerg Sommer <[email protected]> writes: > >> if I connect to my wwwoffle and make "HEAD http://www.test.de/ HTTP/1.1" >> wwwoffle makes a get on the outside. >> >> 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? Galeon, but Mozilla do so too. Hold down the shift key while clicking on a link. >> Why wwwoffle makes a get, when I ask for head? If I check my bookmarks, I >> take a "wget -i bookmarks.html --spider". This cause wwwoffle to download >> all pages named in my bookmark file. > > WWWOFFLE makes a GET request when you ask for a HEAD because it does > not know that you are going to ask for a GET later and the HEAD data > would be useless or worse. But maybe the HEAD includes informations they let you make a decision to download or not. If you see, the file is to large, you don't start downloading it. -- Die beste Tarnung ist die Wahrheit. Die glaubt einem keiner! (Max Frisch: "Biedermann und die Brandstifter")