tahoe-lafs/src/allmydata
Brian Warner 38a4acd623 Appease req.setHeader by passing bytes, not ints.
twisted.web.http.Request.setHeader() really wants a "bytes" object, but
we've been passing integers like len(body). Twisted-12.3 started to
complain about this (with a DeprecationWarning), but the warning is
usually silenced because py2.7 disables deprecations by default.

This fixes Tahoe's misbehavior, but others remain (in Nevow, at least).
I plan to set up some tooling to run tests with
PYTHONWARNINGS=default::DeprecationWarning and collect others. We won't
be able to fix the ones that occur outside of Tahoe, but at least we
should be able to fix our own.

refs ticket:2312
2015-01-21 10:31:31 -08:00
..
frontends Reserve all keytypes starting with "ssh-" in an accounts file, rather than only "ssh-rsa" and "ssh-dsa". 2015-01-06 19:09:04 +00:00
immutable hush current pyflakes warnings (list comprehensions) 2014-06-23 13:54:07 -07:00
introducer Make introducer.furl unguessable. Closes #1802. 2013-03-20 22:40:33 +00:00
mutable publish.py: log roothash in base32, not binary 2014-09-02 13:32:59 -07:00
scripts Improve error reporting and help for start/stop/etc. commands. 2014-10-21 19:15:32 +01:00
storage add "Available" column to welcome page (#648) 2014-11-23 06:03:00 +00:00
test Introduce icons with distinct shape for connection status display on the front wui page... 2015-01-20 16:41:01 -08:00
util Move UDP listen inside try block 2014-12-29 20:21:24 -05:00
web Appease req.setHeader by passing bytes, not ints. 2015-01-21 10:31:31 -08:00
windows Update more links from http: to https: in documentation and comments. 2012-03-13 20:26:54 +00:00
__init__.py Latest cryptography depends on enum34. 2015-01-20 10:52:07 -08:00
_auto_deps.py Latest cryptography depends on enum34. 2015-01-20 10:52:07 -08:00
blacklist.py blacklist.py: add read() method too, for completeness 2011-08-24 19:19:02 -07:00
check_results.py Remove 'needs-rebalancing' and add 'count-happiness' to checker reports; repair tests. fixes #1784, #2105 2014-03-20 16:13:57 +00:00
client.py Better name for the file that causes a node to exit after a timeout when running unit tests. refs #1336 2014-08-17 15:51:19 +01:00
codec.py download: refactor handling of URI Extension Block and crypttext hash tree, simplify things 2008-12-05 08:17:54 -07:00
control.py switch UploadResults to use get_uri(), hide internal ._uri 2012-05-21 21:14:44 -07:00
debugshell.py finish storage server and write new download 2007-03-30 10:52:19 -07:00
dirnode.py Change web-API to support t=relink instead of t=move (+ docs and tests). fixes #1732 2013-04-05 19:38:43 +01:00
hashtree.py hashtree.py: another micro-optimization, expand on a comment 2009-04-03 21:35:27 -07:00
history.py stop making History be a Service, it wasn't necessary 2009-08-15 04:44:15 -07:00
interfaces.py Remove 'needs-rebalancing' and add 'count-happiness' to checker reports; repair tests. fixes #1784, #2105 2014-03-20 16:13:57 +00:00
key_generator.py isolate test_keygen data 2014-01-12 21:25:11 +00:00
manhole.py trailing-whitespace eradication, no functional changes 2007-11-01 15:22:41 -07:00
monitor.py Remove spurious 'self' arguments that should not be included in interface declarations. 2012-07-24 03:32:56 +00:00
node.py remove obsolete comment 2014-08-05 16:36:59 +00:00
nodemaker.py Add comment explaining fix to #1679. refs #1679 2013-02-08 19:27:57 +00:00
stats.py Slightly improve the error message when a stats.pickle file cannot be read. 2012-07-03 14:45:22 +00:00
storage_client.py add available-space to VERSION_DEFAULTS 2014-11-23 06:03:00 +00:00
unknown.py Add mutable field to t=json output for unknown nodes, when mutability is known 2010-01-28 19:14:24 -08:00
uri.py src/allmydata/uri.py: Remove unused 'human encoding' methods, and associated tests. fixes #1807 2013-07-18 20:51:06 +01:00
webish.py write node.url and portnum files atomically, to fix race in test_runner 2012-05-14 15:03:14 -07:00