I'm designing an api that returns an image url that gets from a third party service.
My problem is that for all the media I'm using what I call a "media object"
{
"ContentType": "image/jpeg",
"href": "http://..."
}
But the third party service does not provide a content type, just a url.
Is the image/*
ContentType valid?
I saw it mentioned in other questions like this and this, but I haven't seen it in any Standard like the rfc2045 and its not in the list of options in Wikipedia.
My intention is to prevent my server from having to load the image in order to get the real content type.
The reason I'm using the "media object" is because we can server videos in the same field and that information is very useful to play videos and to separate images form videos.