[MPlayer-dev-eng] Re: [wigren at home.se: [PATCH] Selectable User-Agent for HTTP transfers]
Diego Biurrun
diego at biurrun.de
Wed Oct 22 01:30:08 CEST 2003
Dave Lambley writes:
> On Thu, 2003-10-16 at 18:29, Alban Bedel wrote:
> > on 16 Oct 2003 12:11:59 +0100 you wrote:
> > > On Thu, 2003-10-16 at 07:47, Alban Bedel wrote:
> > > > BTW i don't really like to have all my http connections to try this
> > > > hack. What about adding another option to enable/disable it ? Like a
> > > > flag wich act on tried_ua_hack ?
> > >
> > > Would it be okay if it defaults to enabled? Otherwise it would miss the
> > > point IMHO. I'll make it check for an EOF properly too, so not confuse
> > > them with read errors where retrying wouldn't help.
> > Personlay i don't care if it's on or off by default. Just let users
> > enable/disable if they needed (ie add smthg like -uahack and -nouehack).
>
> I've added an option to turn it off, "-no-user-agent-hack".
I think the user-agent-hack thing should be removed. Just put
user-agent="iTunes/4.0 (Macintosh; N; PPC)"
into your config file. You will then send that user-agent string by
default. No need to add bloat.
Diego
More information about the MPlayer-dev-eng
mailing list