From 706824f19f734e5e567f32d989376547c0ae08da Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 4 Jun 2009 09:42:55 +0000 Subject: More codestring -> codebytes. --- Lib/http/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/http') diff --git a/Lib/http/server.py b/Lib/http/server.py index 193964ff0f..2163e748e6 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -985,7 +985,7 @@ class CGIHTTPRequestHandler(SimpleHTTPRequestHandler): if authorization[0].lower() == "basic": try: authorization = authorization[1].encode('ascii') - authorization = base64.decodestring(authorization).\ + authorization = base64.decodebytes(authorization).\ decode('ascii') except (binascii.Error, UnicodeError): pass -- cgit v1.2.1