import posixpath
import BaseHTTPServer
import urllib
+import urlparse
import cgi
import shutil
import mimetypes
probably be diagnosed.)
"""
+ # abandon query parameters
+ path = urlparse.urlparse(path)[2]
path = posixpath.normpath(urllib.unquote(path))
words = path.split('/')
words = filter(None, words)
Library
-------
+- Bug #1394565: SimpleHTTPServer now doesn't choke on query paramters
+ any more.
+
- Bug #1403410: The warnings module now doesn't get confused
when it can't find out the module name it generates a warning for.