incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Eck <matthias....@jibbigo.com>
Subject Attachment retrieval
Date Wed, 08 Jun 2011 23:07:26 GMT
Hello,

I replicated a CouchDB database to another server and ran into the
following issue.
Each document has a wave file as an attachment.

On the original server a request like:
..../database/110608224202894?attachments=true gives me the expected
result with the audio data similar to this (with a long string
representing the audio data)

"_attachments":{"recording.wav":{"content_type":"audio/x-wav","revpos":2,"data":"UklGRqQGAQBXQVZFZm1......

On the new server this does not work anymore. The exact same request
does not show the attachment, but it reloads the page and the browser
apparently downloads the attachment data?
The other parts of the document are shown correctly.

Thanks for any advice,
Matt

Mime
View raw message