Download links do not force downloading
Bug #920651 reported by
Aaron Bentley
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
I am trying to download the pyOpenSSL-
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: releases |
tags: | added: librarian |
To post a comment you must log in.
The librarian should be sending the correct MIME type, but we should also provide a Content-Disposition header, to encourage the browser to download, rather than display, the page.
$ wget -S http:// launchpad. net/pyopenssl/ main/0. 11/+download/ pyOpenSSL- 0.11-py3. 2-win32. egg launchpad. net/pyopenssl/ main/0. 11/+download/ pyOpenSSL- 0.11-py3. 2-win32. egg net|91. 189.89. 222|:80. .. connected. Type-Warning: guessed from content launchpadlibrar ian.net/ 58498845/ pyOpenSSL- 0.11-py3. 2-win32. egg Authorization, Accept- Encoding charset= utf-8 launchpadlibrar ian.net/ 58498845/ pyOpenSSL- 0.11-py3. 2-win32. egg [following] launchpadlibrar ian.net/ 58498845/ pyOpenSSL- 0.11-py3. 2-win32. egg ian.net. .. 91.189.89.228, 91.189.89.229 ian.net| 91.189. 89.228| :80... connected. canonical. com canonical. com:3128 canonical. com:3128 (squid/2.7.STABLE7) ian.net 0.11-py3. 2-win32. egg'
--2012-01-23 15:57:51-- http://
Resolving launchpad.net... 91.189.89.222, 91.189.89.223
Connecting to launchpad.
HTTP request sent, awaiting response...
HTTP/1.1 303 See Other
Date: Mon, 23 Jan 2012 20:57:51 GMT
Server: zope.server.http (HTTP)
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
X-Content-
Content-Length: 0
Location: http://
Vary: Cookie,
Content-Type: text/plain;
Via: 1.0 launchpad.net
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Location: http://
--2012-01-23 15:57:52-- http://
Resolving launchpadlibrar
Connecting to launchpadlibrar
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Mon, 23 Jan 2012 20:23:14 GMT
Server: TwistedWeb/11.1.0
Content-Length: 773266
Accept-Ranges: bytes
Last-Modified: Mon, 01 Nov 2010 22:33:14 GMT
Cache-Control: max-age=31536000, public
Content-Type: text/plain
Age: 2078
X-Cache: HIT from banana.
X-Cache-Lookup: HIT from banana.
Via: 1.0 banana.
Via: 1.0 launchpadlibrar
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Length: 773266 (755K) [text/plain]
Saving to: `pyOpenSSL-
100%[== ======= ======= ======= ======= ======= =>] 773,266 237K/s in 3.2s
2012-01-23 15:57:55 (237 KB/s) - `pyOpenSSL- 0.11-py3. 2-win32. egg' saved [773266/773266]