Changeset [0db8ddb906c2e4c9d14bd02dcb8b4470c1f16cfb] by macournoyer

June 22nd, 2011 @ 09:40 AM

BREAKING CHANGE: Remove automatic Content-Length setting.

Thin can't do this in a Rack compatible way (has_key? is not part of the spec) and performant way.
It is now the responsibility of the app (or a middleware) to set the Content-Length.

Committed by macournoyer

  • M lib/thin/connection.rb
  • M lib/thin/version.rb
  • M spec/server/tcp_spec.rb
  • M spec/spec_helper.rb
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 ยป