From 1b096ad77362441d22c3eb7bfa03e9e221af2236 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 24 Oct 2012 12:49:57 -0700 Subject: [PATCH] Removed a function that is already fully implemented by a base class. --- django/core/handlers/wsgi.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/core/handlers/wsgi.py b/django/core/handlers/wsgi.py index 7d2ee44e80..45cb2268ed 100644 --- a/django/core/handlers/wsgi.py +++ b/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'