]> git.ipfire.org Git - thirdparty/tornado.git/commit
Clarify error messages about http request bodies.
authorBen Darnell <ben@bendarnell.com>
Sun, 5 Oct 2014 19:17:27 +0000 (15:17 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 5 Oct 2014 19:17:27 +0000 (15:17 -0400)
commit542c8a51b1cfa6150349a541bf4e09a2b00ea805
tree4dc15908f3dacd9b63ff9462b26529c7dce31934
parent27d67a2c51e9d461497bf968940fb7f77702b7db
Clarify error messages about http request bodies.

Change AssertionError to ValueError and s/empty/None.

Closes #1213.
tornado/curl_httpclient.py
tornado/simple_httpclient.py
tornado/test/httpclient_test.py