PATCH: set User-Agent string in HTTP transport

James Henstridge james.henstridge at gmail.com
Mon Feb 6 06:25:55 GMT 2006


On 03/02/06, Robert Collins <robertc at robertcollins.net> wrote:
> Although for added value I would -love- to see an http transport test
> for this, one that tests all the http transports :).

Here's a small test of the feature.  It starts a simple HTTP server
bound to localhost in a thread, and gets that server to return the
request's user-agent header in the response body.

James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-user-agent-test.patch
Type: text/x-patch
Size: 2650 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060206/f62a23f2/attachment.bin 


More information about the bazaar mailing list