Hello,
As said in the title, attachments "Content-Type" seems to be based on file extension.

Simply renaming an UTF-8 text file from "test" to "test.text", and upload both with Futon, causes the first to be interpreted as "application/octet-stream" and the
second to "text/plain".


This is a bit annoying while indexing as fulltext via couchdb-lucene, as the last uses the provided content-type to fill apache tika requests, which handles a few
files types.

Is there a way to ensure (force) the "Content-type" given by couchdb?

Reply via email to