[Twisted-Python] turning off chunked transfer-encoding

Michael P. Soulier msoulier at digitaltorque.ca
Tue May 25 05:08:12 MDT 2010


On 25/05/10 Itamar Turner-Trauring said:

> Chunked encoding has nothing to do with the content type. It is used if
> you do not set a content-length header.
> 
> So, figure out your response's length (in bytes), and set the
> content-length header to that.

I'll try that, thanks.

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20100525/10a1fb0f/attachment.sig>


More information about the Twisted-Python mailing list