clojure-clutch/clutch — Issue #49: decode attachments with get-document
Author: dehubbed
Created: 2012-02-22 13:39:23+00:00
State: open

it seems "get-document" fetches attachments included with the document, however they are not decoded into binary. as an analogy to "put-document" which accepts binary attachments get-document should sort of present the "reverse" interface and decode them?

right now I can make use of "put-document" to add any number of attachments to a document in one go (call it bulk-attach if you want to) but in order to retrieve them as binary I have to retrieve them one by one using get-attachment.

thank you