How to disable Chunked response encoding in v3.2

56 views
Skip to first unread message

bearded

unread,
Oct 23, 2013, 4:51:53 PM10/23/13
to rubyonra...@googlegroups.com
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

bearded

unread,
Oct 25, 2013, 7:43:42 AM10/25/13
to rubyonra...@googlegroups.com
So, easiest way for me was: response.headers['Content-Length'] = _config.bytesize.to_s

среда, 23 октября 2013 г., 23:51:53 UTC+3 пользователь bearded написал:
Reply all
Reply to author
Forward
0 new messages