]> git.ipfire.org Git - thirdparty/tornado.git/commit
httpclient: Improve non-ascii characters in HTTP auth 2397/head
authorBen Darnell <ben@bendarnell.com>
Sun, 20 May 2018 18:37:09 +0000 (14:37 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 20 May 2018 20:47:22 +0000 (16:47 -0400)
commit1c97e3c1f5990c3f6bf97f220ac246430449eb7f
treed27f6652db2f6c351cd170cdc320c279e576a8c5
parentcc3ca857a0d5d92309c655a37a60160abc51679b
httpclient: Improve non-ascii characters in HTTP auth

- Use NFC as required by the spec
- Fix string-concat exceptions on py2
- Test both curl and simple http clients for basic auth
- Do the same for proxy auth in curl
tornado/curl_httpclient.py
tornado/httputil.py
tornado/simple_httpclient.py
tornado/test/httpclient_test.py