[Mongrel] Transfer-Encoding: Chunked

Zed A. Shaw zedshaw at zedshaw.com
Tue Feb 19 23:55:43 EST 2008


On Tue, 19 Feb 2008 08:36:43 +0800
Eden Li <eden at mojiti.com> wrote:

> Mind posting a patch?
> 
> As an aside, the j2me people seem to think CE requests are part the  
> http 1.1 spec (rfc2616):
> 
>    http://developers.sun.com/mobility/midp/questions/chunking/
> 
> and the minimal justification they give is that "interactive  
> applications may not know ahead of time how much data they're going to  
> send" (paraphrase).

Alright, let's see the code being used.  If this is truly the only way
to submit a request from a memory constrained device, and I can't find
an alternative that's simpler then I'll add CE to the Mongrel handler.
CE is already in the RFuzz handler so it'd be nothing more than putting
the same code in the Mongrel parser.  Of course this will just be an
exercise and I'll let the mongrel crew decide if they want it in or not.

And when I say "see the code" I don't mean a toy version, I mean the
actual code being used to do the upload that I can work with and test.
Doesn't have to be the full app, but enough for me to run in a MIDP
emulator and try out.

-- 
Zed A. Shaw
- Hate: http://savingtheinternetwithhate.com/
- Good: http://www.zedshaw.com/
- Evil: http://yearofevil.com/


More information about the Mongrel-users mailing list