what is content type
meyer at paperplanes.de
Mon Jun 25 04:16:29 EDT 2012
A content type is a cue as to what kind of data you're storing in Riak. The concept is based on Internet media types . The cue may or may not be important to your application to figure out what to do with the data. It's also important for certain Riak features like Riak Search, where you can automatically index data based on it's content type (XML, JSON, etc.). If all you're storing is plain text, you might as well ignore it and store everything as application/octet-stream, but on the other hand, it doesn't hurt to just specify text/plain and have it properly marked as what kind of data it is.
On Monday, 25. June 2012 at 09:32, Anand Hegde wrote:
> What is content_type and why do I need to bother about this when storing a blob of text?
> riak-users mailing list
> riak-users at lists.basho.com (mailto:riak-users at lists.basho.com)
More information about the riak-users