Jochen Roderburg ha scritto:
Noèl Köthe schrieb:
Hello,
I can reproduce the following with 1.10.2 and 1.11.beta1:
Wget ignores Content-Disposition header described in RFC 2616,
19.5.1 Content-Disposition.
an example URL is:
http://bugs.debian.org/cgi-bin/bugreport.cgi/%252Ftmp%252Fupdate-grub.patch?bug=168715;msg=5;att=1
Sorry, I don't see any Content-Disposition header in this example URL ;-)
Result of a HEAD request:
200 OK
Connection: close
Date: Fri, 15 Sep 2006 12:58:14 GMT
Server: Apache/1.3.33 (Debian GNU/Linux)
Content-Type: text/html; charset=utf-8
Last-Modified: Mon, 04 Aug 2003 21:18:10 GMT
Client-Date: Fri, 15 Sep 2006 12:58:14 GMT
Client-Response-Num: 1
My own experience is that the 1.11 alpha/beta versions (where this
feature was introduced) worked fine with the examples I encountered.
Jochen is right:
[EMAIL PROTECTED]:~/tmp$ LANG=C ~/code/svn/wget/src/wget -S -d
http://bugs.debian.org/cgi-bin/bugreport.cgi/%252Ftmp%252Fupdate-grub.patch?bug=168715;msg=5;att=1
DEBUG output created by Wget 1.10+devel on linux-gnu.
--16:58:52--
http://bugs.debian.org/cgi-bin/bugreport.cgi/%252Ftmp%252Fupdate-grub.patch?bug=168715
Resolving bugs.debian.org... 140.211.166.43
Caching bugs.debian.org => 140.211.166.43
Connecting to bugs.debian.org|140.211.166.43|:80... connected.
Created socket 3.
Releasing 0x0000000000556550 (new refcount 1).
---request begin---
GET /cgi-bin/bugreport.cgi/%252Ftmp%252Fupdate-grub.patch?bug=168715
HTTP/1.0
User-Agent: Wget/1.10+devel
Accept: */*
Host: bugs.debian.org
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 200 OK
Date: Fri, 15 Sep 2006 14:54:55 GMT
Content-Type: text/html; charset=utf-8
Server: Apache/1.3.33 (Debian GNU/Linux)
Via: 1.1 proxy (NetCache NetApp/5.6.2R1)
---response end---
HTTP/1.0 200 OK
Date: Fri, 15 Sep 2006 14:54:55 GMT
Content-Type: text/html; charset=utf-8
Server: Apache/1.3.33 (Debian GNU/Linux)
Via: 1.1 proxy (NetCache NetApp/5.6.2R1)
Length: unspecified [text/html]
Saving to: `%2Ftmp%2Fupdate-grub.patch?bug=168715'
[ <=>
] 20,018 32.6K/s
in 0.6s
Closed fd 3
16:58:54 (32.6 KB/s) - `%2Ftmp%2Fupdate-grub.patch?bug=168715' saved [20018]
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi http://www.tortonesi.com
University of Ferrara - Dept. of Eng. http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it