code()
Returns a string to ensure compatibility with `Net::HTTPResponse`.
# File actionpack/lib/action_dispatch/http/response.rb, line 311 def code @status.to_s end