Re: Question
| From: | Richard Lynch | Date: | Sun, 13 May 2007 05:33:29 +0000 |
| Subject: | Re: Question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254866@lists.php.net to get a copy of this message | ||
On Sat, May 12, 2007 11:40 pm, Robert Cummings wrote:
> BTW Richard, my Opera browser (9.10 linux) opened up this link as a
> page
> containing text:
>
> http://l-i-e.com/blogger/download.php?filename=iwant.xyz
If Opera IGNORES the RFC-mandated application/octet-stream as forcing
a download, it's BROKEN.
This has been in every RFC since HTTP 1.0...
[ug@ugvideo junk]$ wget --server-response
http://l-i-e.com/blogger/download.php?
filename=iwant.xyz
--00:01:53-- http://l-i-e.com/blogger/download.php?filename=iwant.xyz
=> `download.php?filename=iwant.xyz.1'
Resolving l-i-e.com... done.
Connecting to l-i-e.com[67.139.134.202]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Sun, 13 May 2007 05:08:47 GMT
3 Server: Apache/1.3.37 (Unix) DAV/1.0.3 PHP/4.4.1 mod_ssl/2.8.28
OpenSSL/0.9.8
b
4 X-Powered-By: PHP/4.4.1
5 Content-length: 50
6 Keep-Alive: timeout=15, max=100
7 Connection: Keep-Alive
8 Content-Type: application/octet-stream
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
any http client that does't do a download here is just plain broken...
100%[====================================>] 50 48.83K/s
ETA 00:00
00:01:53 (48.83 KB/s) - `download.php?filename=iwant.xyz.1' saved [50/50]
> No download dialog. I want my cookie :)
Here's your cookie:
http://l-i-e.com/cookie.php
:-)
PS
Does the one where I juke the URL to just be iwant.xyz work right at
least?...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?