Skip to content

Commit

Permalink
Don't expect a 202 repsponse code when cancelling a replication.
Browse files Browse the repository at this point in the history
Closes COUCHDB-1016

Patch by Felix Hummel.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1094026 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
janl committed Apr 16, 2011
1 parent fef5981 commit 522996d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ suggesting improvements or submitting changes. Some of these people are:
* Benjamin Young <byoung@bigbluehat.com>
* Gabriel Farrell <gsf747@gmail.com>
* Mike Leddy <mike@loop.com.br>
* Felix Hummel <apache@felixhummel.de>

For a list of authors see the `AUTHORS` file.
2 changes: 1 addition & 1 deletion share/www/script/jquery.couch.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@

replicate: function(source, target, ajaxOptions, repOpts) {
repOpts = $.extend({source: source, target: target}, repOpts);
if (repOpts.continuous) {
if (repOpts.continuous && !repOpts.cancel) {
ajaxOptions.successStatus = 202;
}
ajax({
Expand Down

0 comments on commit 522996d

Please sign in to comment.