Mikeal, or someone else, can you provide the url of that npm database?
I would like to do some replication tests with it and report back here.

thanks

On Sat, Sep 17, 2011 at 8:01 AM, Adam Kocoloski
<[email protected]> wrote:
> On Wednesday, September 14, 2011 at 3:51 PM, Randall Leeds wrote:
>> On Wed, Sep 14, 2011 at 12:19, Adam Kocoloski <[email protected] 
>> (mailto:[email protected])>wrote:
>>
>> > There's a multipart API which allows for a single PUT request containing
>> > the document body as JSON and all its attachments in their raw form.
>> > Documentation is pretty thin at the moment, and unfortunately I think it
>> > doesn't quite allow for a pipe(). Would be really nice if it did, though.
>>
>> It does. We figured it out together a couple weeks ago and that's when this
>> code came into being.
>> Requesting a _specific_ revision with ?revs=true will give you a
>> multipart/related response suitable for passing straight into a
>> ?new_edits=false&rev= PUT.
>> See https://github.com/mikeal/replicate/blob/master/main.js#L49
>>
> Hah! That's what I get for spending too much time in the world of 1.0.x. 
> Thanks for the correction Randall. Best,
>
> Adam
>



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Reply via email to