consistent with our handling of query parameters (especially important
when capturing groups are used in the URLSpec regex).
This change is slightly backwards-incompatible: applications that have
already added an unquote() call on arguments to RequestHandler.get/post
or use percent escapes in URLSpec patterns will need to remove them.
import os
import socket
import time
+import urllib
import urlparse
try:
self._finish_time = None
scheme, netloc, path, query, fragment = urlparse.urlsplit(uri)
- self.path = path
+ self.raw_path = path
+ self.path = urllib.unquote(path)
self.query = query
arguments = cgi.parse_qs(query)
self.arguments = {}