You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2007/06/30 20:19:21 UTC

[HttpClient] User-Agent for HttpClient 4.0 was Re: svn commit: r552166

On Sat, 2007-06-30 at 19:44 +0200, Roland Weber wrote:
> Hi Oleg,
> 
> > New Revision: 552166
> > 
> > -        HttpProtocolParams.setUserAgent(params, "Jakarta-HttpClient/4.0");
> > +        HttpProtocolParams.setUserAgent(params, "Apache-HttpClient/4.0");
> 
> 
> Would you mind putting a J or Java somewhere in there
> now that we abandon the Jakarta (alias Java) label?
> There can be other HttpClients in other languages,
> and the server really has no chance to tell them apart.
> Maybe "Apache-HttpClient-j/4.0"?
> 

How about 'Apache-HttpClient/4.0-ALPHA1 (java 1.4)'

http://www.mozilla.org/build/user-agent-strings.html

Oleg


> cheers,
>   Roland
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: [HttpClient] User-Agent for HttpClient 4.0 was Re: svn commit: r552166

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sat, 2007-06-30 at 20:29 +0200, Roland Weber wrote:
> Oleg Kalnichevski wrote:
> 
> > How about 'Apache-HttpClient/4.0-ALPHA1 (java 1.4)'
> > 
> > http://www.mozilla.org/build/user-agent-strings.html
> 
> great!
> 
> In the long run, I'll have to figure out something
> to avoid hard-coded version numbers in the source.
> 
> cheers,
>   Roland
> 
> 

I think this can be easily done using Maven filters. I'll take care of
that while preparing ALPHA1 release

Cheers

Oleg


> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Re: [HttpClient] User-Agent for HttpClient 4.0 was Re: svn commit: r552166

Posted by Roland Weber <os...@dubioso.net>.
Oleg Kalnichevski wrote:

> How about 'Apache-HttpClient/4.0-ALPHA1 (java 1.4)'
> 
> http://www.mozilla.org/build/user-agent-strings.html

great!

In the long run, I'll have to figure out something
to avoid hard-coded version numbers in the source.

cheers,
  Roland



---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org