code()
Returns a String to ensure compatibility with Net::HTTPResponse
# File actionpack/lib/action_controller/test_process.rb, line 174 def code status.to_s.split(' ')[0] end