[Web-SIG] WSGI mod_python wrapper
Robert Brewer
fumanchu at amor.org
Thu May 19 06:37:13 CEST 2005
Gregory (Grisha) Trubetskoy wrote:
> On Wed, 18 May 2005, Robert Brewer wrote:
>
> > I wasn't sure either. The mod_python docs say
> > set_content_length() sets the header for you.
>
> I just happened to be reading this passingly - I don't know
> what the code in question looks like, but IIRC, by setting
> content-length you disable chunked encoding, which does not
> use content-length.
Right. Fortunately the code doesn't try to call set_content_length
unless that header is already set by the application. So we're safe
*from ourselves* on that count at least. ;)
Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org
More information about the Web-SIG
mailing list