How to disable Chunked response encoding in v3.2

Hello Ruby on Rails: Talk group,

I need to disable Chunked response encoding in Rails 3.2 or force
HTTP/1.0
in response of one controller action.

Is there an easy way to do this?
_
Thanks

So, easiest way for me was: response.headers[‘Content-Length’] =
_config.bytesize.to_s

, 23 2013 ., 23:51:53 UTC+3 bearded :

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs