#14 ✓ resolved
Eero Saynatkari

[PATCH] Fix Response#finish Content-Length handling

Reported by Eero Saynatkari | January 9th, 2009 @ 04:29 PM | in 1.0

Response#finish setting Content-Length to 0 caused an issue with 0.4 -> 0.9 upgrades in cases where Response#body was being directly accessed and with the ContentLength middleware (which expected the header to be missing, not 0.)

Further detail in http://groups.google.com/group/r...

Fixed by updating Content-Length directly in Response#write and removing further handling in Response#finish.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Attachments

Pages