On Nov 9, 2012, at 11:20 AM, Brad Rhoads 
<[email protected]<mailto:[email protected]>> wrote:

I've been able to create a standalone attachment, but the content_type ends
up as multipart/form-data. What I am I doing wrong?

As shown in the HTTP log, the Content-Type header of the PUT is 
“multipart/form-data”, so that’s what CouchDB stores as the MIME type of the 
attachment. If you want it to remember a different type, you should send that 
as the value of the Content-Type header.

—Jens

Reply via email to