aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/callbacks_test.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-04-30 06:37:19 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2012-04-30 06:37:19 +0100
commit24f143789a8989f3bccde14ff28067de25cafd87 (patch)
treef7b2fa526f67b4b57b26ca96da257f249d5d8f7f /activemodel/test/cases/callbacks_test.rb
parentcb9f7f488a3be71ee4704a4e62f545ebd3f95310 (diff)
downloadrails-24f143789a8989f3bccde14ff28067de25cafd87.tar.gz
rails-24f143789a8989f3bccde14ff28067de25cafd87.tar.bz2
rails-24f143789a8989f3bccde14ff28067de25cafd87.zip
Add note about using 303 See Other for XHR requests other than GET/POST
IE since version 6 and recently Chrome and Firefox have started following 302 redirects from XHR requests other than GET/POST using the original request method. This can lead to DELETE requests being redirected amongst other things. Although it doesn't directly affect the Rails framework since it doesn't return a 302 redirect to any non-GET/POST request a note has been added to raise awareness of the issue. Some references: Original article from @technoweenie: http://techno-weenie.net/2011/8/19/ie9-deletes-stuff/ Hacker News discussion of the article: http://news.ycombinator.com/item?id=2903493 WebKit bug report: https://bugs.webkit.org/show_bug.cgi?id=46183 Firefox bug report and changeset: https://bugzilla.mozilla.org/show_bug.cgi?id=598304 https://hg.mozilla.org/mozilla-central/rev/9525d7e2d20d Chrome bug report: http://code.google.com/p/chromium/issues/detail?id=56373 HTTPbis bug report and changeset: http://trac.tools.ietf.org/wg/httpbis/trac/ticket/160 http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1428 Roy T. Fielding's history of the issue: http://ftp.ics.uci.edu/pub/ietf/http/hypermail/1997q3/0611.html Automated browser tests for the issue: http://www.mnot.net/javascript/xmlhttprequest/ Fixes #4144
Diffstat (limited to 'activemodel/test/cases/callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions