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