On 1 April 2014 10:39, Yousong Zhou <[email protected]> wrote:
> On 1 April 2014 15:48, Jure Grabnar <[email protected]> wrote:
> > Hi,
> >
> > I debugged code before writing the 1st patch and found out that if "type"
> > attribute is not present in v3.0, libmetalink completly ignores it (URL
> is
> > not present in resources!).
> > If you write "type" attribute in v4.0, libmetalink ignores it (only
> "type",
> > URL is still present in resources!). So you have to find out protocol
> type
> > from URL in v4.0.
>
> But the type attribute is currently not used by wget. I cannot find
> any reference to it outside metalink.c. Anyway, IIUC, types like
> torrent, ed2k, etc. are not in the realm of wget.
That's true. "type" is currently only used to filter out types which Wget
doesn't support.
Do you think parsing it ("type") is irrelevant?
Regards,
Jure Grabnar