PATCH: set User-Agent string in HTTP transport
Robert Collins
robertc at robertcollins.net
Thu Feb 2 23:27:35 GMT 2006
On Thu, 2006-02-02 at 17:32 +0800, James Henstridge wrote:
> At the moment, bzr sends the default "Python-urllib/X.Y" user agent
> string when talking to web servers. This makes it difficult to
> differentiate bzr requests from other urllib-based requests.
>
> The attached patch changes the user-agent string to read
> "bzr/$version". The version information might also be useful to
> people in the future to see what versions of bzr people use to access
> thier branches (e.g. to decide when it is safe to upgrade to a new
> branch format).
>
> The change can also be found in revision 1594 of
> http://people.ubuntu.com/~jamesh/bzr.smallfixes
+1
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060203/a1c1476b/attachment.pgp
More information about the bazaar
mailing list