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