livingsocial / rake-pipeline

An extension to Rake for dealing with a directory of inputs, a number of filters, and a directory of outputs
MIT License
276 stars 38 forks source link

Specify Content-Length header on responses #113

Closed joefiorini closed 11 years ago

ahawkins commented 12 years ago

Doesn't Rack set this header if it's not set?

joefiorini commented 12 years ago

It wasn't for me, maybe I need to wrap my middleware in Rack::Lint. I'll try that and close if that fixes it.

On Fri, Nov 16, 2012 at 3:15 AM, Adam Hawkins notifications@github.comwrote:

Doesn't Rack set this header if it's not set?

— Reply to this email directly or view it on GitHubhttps://github.com/livingsocial/rake-pipeline/pull/113#issuecomment-10439509.

joefiorini commented 11 years ago

I'm not using the middleware anymore, so I'm going to close this.

joefiorini commented 11 years ago

Also worth mentioning that @twinturbo was correct, Rack does set it automatically. Don't know why I had issues with this originally, but it's all good now.