daleharvey/pouchdb — pull request #1194 by ingorammer (2013-12-30 17:48:27+00:00)
Title: (#1175) - Handle HTTP codes other than 200/404 during repl

Replication should invoke callback if it receives HTTP error codes
other than 404 and 200. (Which might be returned from the DB server
or from an intermediary reverse proxy). It seems that there was an
oversight which could lead to HTTP 500s to otherwise trigger neither
success nor err-callback behavior.