Why does "WARN could not detect content-length of response body" appear?

Asked 2 years ago, Updated 2 years ago, 32 views

That warning has been in the log since I upgraded Rails

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 erase it?

ruby ruby-on-rails

2022-09-22 15:09

1 Answers

Q : https://twitter.com/#!/luislavena/status/108998968859566080

A : https://twitter.com/#!/tenderlove/status/108999110136303617

This is a direct question to the Rails member. They say it's not a serious warning message

In the httpresence.rb file, change the 205th line to here and it will disappear.


2022-09-22 15:09

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.