commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: Better User-Agent string


From: Michael Koch
Subject: Re: FYI: Better User-Agent string
Date: Sun, 27 Jun 2004 21:57:00 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 27. Juni 2004 21:31 schrieb Mark Wielaard:
> Hi,
>
> 2004-06-27  Mark Wielaard  <address@hidden>
>
>        * gnu/java/net/protocol/http/Connection.java (userAgent):
> New static final field.
>        (sendRequest): Use new field in user-agent http agent.
>
> I little better user-agent string so libgcj doesn't need to patch
> this anymore. Committed.

This doesn't really look correct. It was buggy before too. This could 
should just read the "http.agent" property [1] and ths should be set 
if not given on commandline in Runtime.insertSystemProperties().


Michael


[1] http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA3yaMWSOgCCdjSDsRAueEAJ9n5MnTfQvqk8O5vapwBt/AiFx1YwCZAcW8
JwiSfvQmUvYL6x7fV8O7efE=
=50zb
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]