summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/cgihttps.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/cgihttps.py')
-rwxr-xr-xLib/dos-8x3/cgihttps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dos-8x3/cgihttps.py b/Lib/dos-8x3/cgihttps.py
index 24bdeef..806ef57 100755
--- a/Lib/dos-8x3/cgihttps.py
+++ b/Lib/dos-8x3/cgihttps.py
@@ -145,7 +145,7 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
if line[:1] in string.whitespace:
accept.append(string.strip(line))
else:
- accept = accept + string.split(line[7:])
+ accept = accept + string.split(line[7:], ',')
env['HTTP_ACCEPT'] = string.joinfields(accept, ',')
ua = self.headers.getheader('user-agent')
if ua: