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

前端 未结 9 2659
离开以前
离开以前 2020-11-27 09:35

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 co

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 10:08

    You can also use Thin instead of the default Webrick. Add this to Gemfile gem 'thin'

    then rails s thin will use thin, and the warning will disappear.

提交回复
热议问题