> On Dec 1, 2017, at 1:45 AM, Brendan Duddridge <[email protected]> wrote:
> 
> The problem I'm facing now in relation to Couchbase Lite 1.4.x is that they 
> have reduced the document request size from 64 MB down to only 1 MB.

Are these guidelines public? I’d like to see more detail.

> If I attach a file that's more than 1 MB, I get a "request entity too large" 
> error.
> I used Charles Proxy to look at the request and it seems that Couchbase Lite 
> is sending both the attachment and request body in one request. The 
> attachment in the request is bounded.
…
> Is there a way to enable attachment uploads as separate requests in Couchbase 
> Lite 1.4.1?

The push replicator has to send the body and (changed) attachments in a single 
HTTP request, because they have to be added to the server’s database 
atomically. There is no way in the replication protocol to push a document 
revision without the attachments that go along with it.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/7978F1D3-E585-435E-A31B-139248115A6E%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to