RE: [PHP] Passing header info for use in downloading files...?

From: Date: Wed, 12 Nov 2003 10:57:04 +0000
Subject: RE: [PHP] Passing header info for use in downloading files...?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169196@lists.php.net to get a copy of this message
Didn't know that it's RFC 1521 specific header and not valid in HTTP. =) Thanks, Erik Osterman http://osterman.com/ -----Original Message----- From: Chris Shiflett [mailto:shiflett@php.net] Sent: Tuesday, November 11, 2003 9:21 AM To: Erik Osterman; Tristan.Pretty@risk.sungard.com; php-general@lists.php.net Subject: RE: [PHP] Passing header info for use in downloading files...? --- Erik Osterman <e@osterman.com> wrote: > Look's correct... you could consider adding > Header("Content-transfer-encoding: binary"); Because Content-transfer-encoding is not a valid HTTP header, this will have no effect. Content-Encoding and Transfer-Encoding are valid headers, but binary is not a valid value for either of those. See RFC 2616 section 19.4.5 for more information. Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#169196) next »