Rails:将一些数据附加到“head:ok”响应

ame*_*ior 3 ruby rest ruby-on-rails http

在 Rails 中,常见的做法是发送“head :ok”来响应请求。( https://github.com/search?l=Ruby&p=7&q=%22head+%3Aok%22&type=Code&utf8=%E2%9C%93 )

是否可以同时发送 json 哈希值?