Explorar o código

Removed a function that is already fully implemented by a base class.

Alex Gaynor %!s(int64=12) %!d(string=hai) anos
pai
achega
1b096ad773
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      django/core/handlers/wsgi.py

+ 0 - 5
django/core/handlers/wsgi.py

@@ -152,11 +152,6 @@ class WSGIRequest(http.HttpRequest):
         self._stream = LimitedStream(self.environ['wsgi.input'], content_length)
         self._read_started = False
 
-    def get_full_path(self):
-        # RFC 3986 requires query string arguments to be in the ASCII range.
-        # Rather than crash if this doesn't happen, we encode defensively.
-        return '%s%s' % (self.path, self.environ.get('QUERY_STRING', '') and ('?' + iri_to_uri(self.environ.get('QUERY_STRING', ''))) or '')
-
     def _is_secure(self):
         return 'wsgi.url_scheme' in self.environ and self.environ['wsgi.url_scheme'] == 'https'