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
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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs