PATCH: set User-Agent string in HTTP transport
James Henstridge
james.henstridge at gmail.com
Thu Feb 2 09:32:57 GMT 2006
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
James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-user-agent.patch
Type: text/x-patch
Size: 825 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060202/ec8d861c/attachment.bin
More information about the bazaar
mailing list