You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Roland Weber <os...@dubioso.net> on 2007/06/30 19:44:39 UTC

Re: svn commit: r552166 - in /jakarta/httpcomponents/httpclient/trunk/module-client/src: examples/org/apache/http/examples/client/ main/java/org/apache/http/client/ main/java/org/apache/http/client/protocol/ main/java/org/apache/http/impl/client/

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"?

cheers,
  Roland


---------------------------------------------------------------------
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


[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 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