“WARN 无法确定响应正文的内容长度"是什么意思.意思是我如何摆脱它? [英] What does "WARN Could not determine content-length of response body." mean and how to I get rid of it?
本文介绍了“WARN 无法确定响应正文的内容长度"是什么意思.意思是我如何摆脱它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
自从升级到 Rails 3.1 后,我在开发日志中看到了这条警告消息:
Since upgrading to Rails 3.1 I'm seeing this warning message in my development log:
WARN 无法确定响应正文的内容长度.设置响应的内容长度或设置 Response#chunked = true
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?
推荐答案
向 Rails-Core 的一位成员提出了同样的问题:
Asked the same question to one of Rails-Core's members:
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.
这篇关于“WARN 无法确定响应正文的内容长度"是什么意思.意思是我如何摆脱它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文