Skip to content

Commit

Permalink
All 2xx requests are considered successful [#217 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jul 17, 2008
1 parent f7fdbae commit cd63015
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*Edge*

* All 2xx requests are considered successful [Josh Peek]

* Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host along with the source or per-request proc's won't run [DHH]

* Removed config.action_view.cache_template_loading, use config.cache_classes instead [Josh Peek]
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/test_process.rb
Expand Up @@ -171,7 +171,7 @@ def message

# Was the response successful?
def success?
response_code == 200
(200..299).include?(response_code)
end

# Was the URL not found?
Expand Down

0 comments on commit cd63015

Please sign in to comment.