pouchdb-community / pouchdb-replication-stream

Replicate PouchDB/CouchDB databases with Node.js-style streams
Apache License 2.0
189 stars 58 forks source link

[question] how does it handle/stream attachments? #7

Closed janl closed 10 years ago

nolanlawson commented 10 years ago

Attachments would just be included base64-style in an _attachments map. Basically the dumbest possible solution, but that's why I put a version number in the header :wink:.

nolanlawson commented 10 years ago

Also yeah, that's something that I need to add to the tests. This will probably be my weekend project.

janl commented 10 years ago

so is this fixed? :)

nolanlawson commented 10 years ago

Well, attachments are included in base64 format, which is "good enough" for now.

More broadly this will be improved when we fix attachments in PouchDB to allow for multipart/mixed (both ingress and egress).

janl commented 10 years ago

Cool, thanks for the heads up.