On 18 Jul 2013, at 08:30, Daniele Ricci <[email protected]> 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
