Clark C. Evans wrote:
> I'm puzzled why CONTENT_TYPE/CONTENT_LENGTH is listed as an ``environ``
> CGI variable when it seems the corresponding corresponding
> HTTP_CONTENT_TYPE/HTTP_CONTENT_LENGTH would work.  Is there a reason for
> this redundancy?  Which one should I use?  If they differ, which one is
> correct? 

Probably HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH shouldn't be in 
there, and they should be ignored if they are in there.  CGI translates 
all headers by adding HTTP_, except for these two particular headers. 
WSGI is just following CGI on this one.

-- 
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to