Ruby on Rails Friday, October 25, 2013

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

среда, 23 октября 2013 г., 23:51:53 UTC+3 пользователь bearded написал:
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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/520d71a3-c719-4dce-9f2a-6d962a3b2361%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment