couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Replication" by StuartLangridge
Date Tue, 07 Sep 2010 12:04:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication" page has been changed by StuartLangridge.
The comment on this change is: Add note about proxy support.
http://wiki.apache.org/couchdb/Replication?action=diff&rev1=21&rev2=22

--------------------------------------------------

  {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database",
"filter":"myddoc/myfilter", "query_params": {"key":"value"}}
  }}}
  
+ == Replicating through a proxy ==
+ 
+ Pass a "proxy" argument in the replication data to have replication go through an HTTP proxy:
+ 
+ {{{
+ POST /_replicate HTTP/1.1
+ 
+ {"source":"example-database","target":"http://example.org/example-database", "proxy":"http://localhost:8888"}
+ }}}
+ 
+ Note that https proxies are in theory supported but do not work in 1.0.1.
+ 
  See also: 
   * [[Replication_and_conflicts|Replication and conflicts]]
   * [[How_to_design_for_replication|How to design for replication]]

Mime
View raw message