[Standards] Out of band: MIME type

Daniele Ricci daniele.athome at gmail.com
Thu Jul 18 08:42:30 UTC 2013

I know, I mean without contacting the URI itself in anyway. It's just
a hint to save a HTTP request, even if it's a short one (mobile
environment needs).
FWIW, even a length attribute could be useful to save an HEAD request
(always to be considered no more than a hint).

On Thu, Jul 18, 2013 at 10:30 AM, Ashley Ward <ashley.ward at surevine.com> wrote:
> 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