diff options
-rw-r--r-- | apps/couch/src/couch_rep_httpc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_rep_httpc.erl b/apps/couch/src/couch_rep_httpc.erl index e22c8f81..f15cba33 100644 --- a/apps/couch/src/couch_rep_httpc.erl +++ b/apps/couch/src/couch_rep_httpc.erl @@ -165,7 +165,7 @@ full_url(Req) -> process_response({ok, Status, Headers, Body}, Req) -> Code = list_to_integer(Status), - if Code =:= 200; Code =:= 201 -> + if Code =:= 200; Code =:= 201; Code =:= 202 -> ?JSON_DECODE(maybe_decompress(Headers, Body)); Code =:= 301; Code =:= 302 ; Code =:= 303 -> do_request(redirected_request(Code, Headers, Req)); |