On Wed, Sep 10, 2008 at 11:07:49AM -0400, Zach Beane wrote:
On Wed, Sep 10, 2008 at 05:03:33PM +0200, Edi Weitz wrote:
On Wed, 10 Sep 2008 09:20:30 -0400, Zach Beane xach@xach.com wrote:
Is there any way to send a non-chunked request without having the entire content in memory at once?
You can set the content length header yourself. In that case Drakma shouldn't use chunked encoding IIRC.
Attached is a small patch that updates Drakma so it doesn't reject a content-length if content is :continuation. It has allowed me to upload big files without loading them into memory first.
Zach