ruby-on-railsrubywebrick

What does "WARN Could not determine content-length of response body." mean and how to I get rid of it?


Since upgrading to Rails 3.1 I'm seeing this warning message in my development log:

WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true

What does this mean and how can I remove it? Is it a problem?


Solution

  • Asked the same question to one of Rails-Core's members:

    https://twitter.com/luislavena/status/108998968859566080

    And the answer:

    https://twitter.com/tenderlove/status/108999110136303617

    ya, it's fine. Need to clean it up, but nothing is being hurt.