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:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2003 9:21 AM
To: Erik Osterman; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [PHP] Passing header info for use in downloading files...?

--- Erik Osterman <[EMAIL PROTECTED]> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to