> On Dec 1, 2017, at 12:32 PM, Traun Leyden <[email protected]> wrote: > > Couchbase Lite will automatically determine whether to use base64'd inline > attachments vs standalone multipart/related attachments. I can't remember > what the cutoff size is, but I think it's around 10K.
Looking at the code, I think the only case where the push replicator sends attachments as inline base64 is if the server doesn’t support multipart … I believe this was for compatibility with old versions of PouchDB. Otherwise it’s always multipart. —Jens PS: If you’re following along in the code, the relevant variable is _dontSendMultipart in CBLRestPusher.m. -- 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/574E4D6D-F2CD-49A9-819E-0C3C2E3B2E75%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
