Jonathan Rudenberg <[email protected]> wrote:
> On Jun 13, 2013, at 3:21 PM, Eric Wong <[email protected]> wrote:
> > Try the following:

<snip>

> Thanks, this stack works.

Good to know!

> > I added the Rack::ContentLength (it's already in the default middleware
> > stack) since I believe Rack::Chunked adding the '0' is a violation of
> > rfc2616... I'll need to read more closely to be sure.
> 
> Hmm, so this is a bug in Rack::Chunked? My reading of the spec says
> that the '0' is incorrect.

I think so, too.  Can you report this to the Rack folks?  (Or I can do it)

I've reproduced the issue with "rackup -s thin", too.
"rackup -s webrick" sets ContentLength, but that could be because
webrick was meant to work without Rack and adds its own headers.
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to