自升级到 Rails 3.1 后,我在开发日志中看到了这条警告消息:
WARN Could not determine content-length of response body. Set content-length of the response or set
Response#chunked = true
这是什么意思,我该如何删除它?有问题吗?
最佳答案
向 Rails-Core 的一位成员提出了同样的问题:
https://twitter.com/luislavena/status/108998968859566080
答案:
https://twitter.com/tenderlove/status/108999110136303617
ya, it's fine. Need to clean it up, but nothing is being hurt.
关于ruby-on-rails - "WARN Could not determine content-length of response body."是什么意思,我该如何摆脱它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7082364/