I am using a single JSON response format to cover a number of possible responses.
The response contains a field that, optionally, contains a link to an external resource.
The response is valid, regardless of whether this field is populated.
I am using a separate mime-type field to dictate how the client should handle said field.
i.e.
mime-type : video/mp4
Client plays the video
mime-type : text/html
Client launches a browser with the given URL
What I would like to know, is if there is a "standard" mime-type to cover an empty resource.
I know I can use a vendor specific mime-type, and most likely will, but it made me question.
Thanks.