Re: Update: HTTP_Download
| From: | Michael Wallner | Date: | Fri, 26 Sep 2003 13:18:02 +0000 |
| Subject: | Re: Update: HTTP_Download | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22078@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi David Grant, you wrote:
> Can you not overwrite them using the third parameter of header()?
Replace them with what?
Empty?
header('Pragma: '); ?
BTW telnet worked great:
- ---
Trying 127.0.0.1...
Connected to iworks.
Escape character is '^]'.
GET /PEAR/cvs/pear/HTTP_Download/test.php HTTP/1.0
Host: local
Range: bytes=10-15
HTTP/1.1 206 Partial Content
Date: Fri, 26 Sep 2003 13:13:25 GMT
Server: Apache
X-Powered-By: PHP/4.3.2
Cache-Control: public
Accept-Ranges: bytes
Last-Modified: Fri, 26 Sep 2003 12:33:45 GMT
Content-Length: 6
Content-Disposition: attachment; filename=test.php
Content-Range: bytes 10-15/281
Connection: close
Content-Type: text/plain; charset=ISO-8859-1
uire_oConnection closed by foreign host.
- ---
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Cygwin)
iD8DBQE/dDyK3645gzRPvy8RAhxTAKCOF8iQXFBd4CeJC5oO7+StkSPcDwCeJaH/
IUGAFVZczqYuL4Ubzh91t5g=
=PLXE
-----END PGP SIGNATURE-----