AlexanderKaraberov commented on issue #1195: Add support for bulk get with Accept:"multipart/mixed" or "multipart/related" URL: https://github.com/apache/couchdb/pull/1195#issuecomment-371879574 Hi @janl , Thanks for a good question. Long story short: I tried to re-use couch_doc:doc_to_multi_part_stream() but it wasn?t working, because content headers wasn?t encoded properly. Hence I decided to write a custom one based on rcouch instead of modifying/breaking existing functionality. Now I understand that this was because I didn?t use (didn?t know) about couch_httpd_db:encode_multipart_stream(). Function name looks like exactly what I needed at that point of time... Unfortunately I still have a superficial knowledge of full CouchDB codebase and its hidden gems. If you don?t mind I can try to reimplement this functionality using mentioned functions instead of mine and test whether this will work with Sync Gateway.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
