[Standards] Out of band: MIME type
ashley.ward at surevine.com
Thu Jul 18 08:30:38 UTC 2013
On 18 Jul 2013, at 08:30, Daniele Ricci <daniele.athome at gmail.com> wrote:
> I found out to be needing a "type" attribute in the <url/> element in
> XEP-0066 . I guess it could be useful as a hint to know in advance
> the mime type of what we are going to download (e.g. for http URIs).
> What do you think?
Could you not just do an HTTP HEAD request to discover the MIME type if you need to know the type before downloading it?
More information about the Standards