mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Send a stripped down message in the text following 500, and leave the detailed
response for the body, or we may generate invalid HTTP responses that causes 404's. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
7f32666924
commit
5feb7e26e8
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module ActionWebService # :nodoc:
|
|||
message = "Exception raised"
|
||||
backtrace = ""
|
||||
end
|
||||
render_text("Internal protocol error: #{message}#{backtrace}", "500 #{message}")
|
||||
render_text("Internal protocol error: #{message}#{backtrace}", "500 Internal Protocol Error")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue