Mime type for annotated data
Laurent Michel
laurent.michel at astro.unistra.fr
Thu Dec 5 16:01:30 CET 2024
Dear groups
At the last interop, apps session, I showed a TAP service that annotates data with MIVOT, as long as you use
FORMAT=application/mango.
I was rightly told that this was probably the worst choice I could have made, even for a simple demonstrator.
The question now is to construct a mime type, compatible with the RFCs and expressing the fact that the response to the request is a VOTable, whose data is mapped onto a model using the MIVOT syntax.
I think the right solution is to use the parameters as defined in rfc2045
There are two options:
1- say the data is annotated with MIVOT and let the client find out which model it is.
application/x-votable+xml;mapping=mivot
2- say the data is mapped to the MANGO model with MIVOT
application/x-votable+xml;mivot=mango
This second solution highlights a particular model, but it may make sense for our use cases.
Any suggestions or comments?
All the best,
Laurent
More information about the dm
mailing list