couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: attachments "Content-Type" seems to be based on file extension.
Date Sat, 05 Sep 2009 15:02:19 GMT
> Is there a way to ensure (force) the "Content-type" given by couchdb?

This is only related to whatever tool you're using. With curl the
proper call would be something like:

$ curl -X PUT -H "Content-Type: text/plain"

If you're using a library of some sort you'll need to read their API.

Paul Davis

View raw message