This is webbish. Thanks to kpreid for suggesting it.
# __full_version__ is the one that you ought to use when identifying yourself in the
# "application" part of the Tahoe versioning scheme:
# http://allmydata.org/trac/tahoe/wiki/Versioning
-__full_version__ = __appname__ + '-' + str(__version__)
+__full_version__ = __appname__ + '/' + str(__version__)
hush_pyflakes = __version__
del hush_pyflakes
raise ValueError("unknown scheme '%s', need http or https" % scheme)
c.putrequest(method, path)
c.putheader("Hostname", host)
- c.putheader("User-Agent", "tahoe_cli/%s" % allmydata.__full_version__)
+ c.putheader("User-Agent", allmydata.__full_version__ + " (tahoe-client)")
c.putheader("Connection", "close")
old = body.tell()