[Mongrel] Transfer-Encoding: Chunked

Eden Li eden at mojiti.com
Fri Feb 15 20:01:23 EST 2008


Looks like mongrel can't handle chunked posts (see
http://mongrel.rubyforge.org/svn/trunk/lib/mongrel/http_request.rb  
line 29).  You'll need to put another web server (other than nginx) in  
front of it to handle this, or you could file a bug in the mongrel  
tracker to get them to add this support (or you could code it up  
yourself :).

On Feb 16, 2008, at 4:35 AM, Zachary Roetemeyer wrote:

> I'm working with someone who is having issues with a Transfer-
> Encoding: Chunked upload. With out a content-length set in the
> request, everything is treating the content length as 0 and the file
> is more or less getting sent to the bit bucket.  Does anyone have any
> experience with this kind of issue?  We started proxying with
> nginx(returned a HTTP Error 411), then we tried to directly expose a
> mongrel and ended up getting strange results, and errors in the
> mongrel logs.  The client is uploading with a mobile phone using J2ME.
>
>  Zachary Roetemeyer
>
>
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list