Zitat von Jochen Roderburg <[EMAIL PROTECTED]>:

> In the time-stamping mode wget always issued first a HEAD request when there
> was
> a local file, and later a GET request when after inspecting the HEAD outpout
> it
> found out that it should do so.
>
> The wget 1.11 now *always* does the HEAD request, so this problem may be a
> little related to the other just-repaired problem.

Now I even stumbled over a case where this behaviour leads to an error, namely
when the server doesn't like the HEAD request and responds with an error.
Therefore my additional question: Is this HEAD request intended or is it an
error? Has it perhaps to do with the new "Content-Disposition" stuff?

I encountered the new problem when downloading a new Eudora Beta. This is
delivered via a cgi which makes a redirection to the real file link.
A HEAD request for the original link is answered with "500 Server Error".


wget.111b1 -d http://www.eudora.com/cgi-bin/export.cgi?productid=EUDORA_win_7106

DEBUG output created by Wget 1.11-beta-1 on linux-gnu.

--10:53:19--  http://www.eudora.com/cgi-bin/export.cgi?productid=EUDORA_win_7106
Resolving www.eudora.com... 199.106.114.30
Caching www.eudora.com => 199.106.114.30
Connecting to www.eudora.com|199.106.114.30|:80... connected.
Created socket 3.
Releasing 0x08086920 (new refcount 1).

---request begin---
HEAD /cgi-bin/export.cgi?productid=EUDORA_win_7106 HTTP/1.0
User-Agent: Wget/1.11-beta-1
Accept: */*
Host: www.eudora.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 500 Server Error
Server: Netscape-Enterprise/6.0
Date: Wed, 30 Aug 2006 08:53:20 GMT
Content-length: 305
Content-type: text/html
Connection: keep-alive

---response end---
500 Server Error
Registered socket 3 for persistent reuse.
10:53:21 ERROR 500: Server Error.



wget.1102 -d http://www.eudora.com/cgi-bin/export.cgi?productid=EUDORA_win_7106

DEBUG output created by Wget 1.10.2 on linux-gnu.

--10:51:22--  http://www.eudora.com/cgi-bin/export.cgi?productid=EUDORA_win_7106
           => `export.cgi?productid=EUDORA_win_7106'
Resolving www.eudora.com... 199.106.114.30
Caching www.eudora.com => 199.106.114.30
Connecting to www.eudora.com|199.106.114.30|:80... connected.
Created socket 3.
Releasing 0x08084e60 (new refcount 1).

---request begin---
GET /cgi-bin/export.cgi?productid=EUDORA_win_7106 HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www.eudora.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 302 Moved Temporarily
Server: Netscape-Enterprise/6.0
Date: Wed, 30 Aug 2006 08:51:21 GMT
Location:
http://www.eudora.com/download/eudora/windows/7.1/beta/Eudora_7.1.0.6_beta.exe
Content-length: 0
Connection: keep-alive

---response end---
302 Moved Temporarily
Registered socket 3 for persistent reuse.
Location:
http://www.eudora.com/download/eudora/windows/7.1/beta/Eudora_7.1.0.6_beta.exe
[
following]
Skipping 0 bytes of body: [] done.
--10:51:22-- 
http://www.eudora.com/download/eudora/windows/7.1/beta/Eudora_7.1.0.6_beta.e
xe
           => `Eudora_7.1.0.6_beta.exe'
Reusing existing connection to www.eudora.com:80.
Reusing fd 3.

---request begin---
GET /download/eudora/windows/7.1/beta/Eudora_7.1.0.6_beta.exe HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www.eudora.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Server: Netscape-Enterprise/6.0
Date: Wed, 30 Aug 2006 08:51:21 GMT
Content-type: application/octet-stream
Last-modified: Mon, 28 Aug 2006 21:29:37 GMT
Content-length: 17403352
Accept-ranges: bytes
Connection: keep-alive

---response end---
200 OK
Length: 17,403,352 (17M) [application/octet-stream]

100%[==============================================>] 17,403,352   322.84K/s   
ETA 00:00

10:52:29 (256.51 KB/s) - `Eudora_7.1.0.6_beta.exe' saved [17403352/17403352]


Regards, J.Roderburg

Reply via email to