Removed a function that is already fully implemented by a base class.
This commit is contained in:
parent
82b3e6ffcb
commit
1b096ad773
|
@ -152,11 +152,6 @@ class WSGIRequest(http.HttpRequest):
|
||||||
self._stream = LimitedStream(self.environ['wsgi.input'], content_length)
|
self._stream = LimitedStream(self.environ['wsgi.input'], content_length)
|
||||||
self._read_started = False
|
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):
|
def _is_secure(self):
|
||||||
return 'wsgi.url_scheme' in self.environ and self.environ['wsgi.url_scheme'] == 'https'
|
return 'wsgi.url_scheme' in self.environ and self.environ['wsgi.url_scheme'] == 'https'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue