[Standards] Out of band: MIME type

Ashley Ward 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:

> Greetings,
> I found out to be needing a "type" attribute in the <url/> element in
> XEP-0066 [1]. 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?

--
Ash


More information about the Standards mailing list