PATCH: set User-Agent string in HTTP transport
Robert Collins
robertc at robertcollins.net
Fri Feb 3 00:42:34 GMT 2006
On Fri, 2006-02-03 at 10:27 +1100, Robert Collins wrote:
> 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
Although for added value I would -love- to see an http transport test
for this, one that tests all the http transports :).
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/26ea225c/attachment.pgp
More information about the bazaar
mailing list