Open minfrin opened 4 years ago
I guess it would ... https://www.iana.org/form/media-types ... maybe
application/vnd.rrd
what is your intention with this ? Note that rrd files are architecture dependent.
I have finished the initial version of an RRD module integrated into Apache httpd, and was hoping to do it as a set of filters responding to data from mime types that could have come from anywhere. Alas the rrdtool API is very file centric, so I've only been able to do this as handlers.
https://github.com/minfrin/mod_rrd
Certainly a module equivalent of rrdtool dump and rrdtool last could use a MIME type. Not sure how the architecture specific nature of the RRD files themselves would be expressed in a MIME type.
It would be ideal if the output of rrdtool dump had a MIME type of it's own.
how about making one up then :) you could create a PR for the rrdtool documentation to document your choice in case others are interested too.
Ideally the RRD file format needs a dedicated registered MIME type for the data format.
Is it possible to register a MIME type at https://www.iana.org/assignments/media-types/media-types.xhtml#application ?