summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-04-06 12:24:38 -0400
committerTim Graham <timograham@gmail.com>2016-04-06 12:29:20 -0400
commit3913a56558cd98158a586a8e708e8e1464c42112 (patch)
treefcdb5c88bfada10994f237a0a8d31f09c89d7b16
parent8dcd01046ef0307dbefeac1e1036cf1d5421d109 (diff)
Removed unused django.utils.http.PROTOCOL_TO_PORT.
Unused since b0c56b895fd2694d7f5d4595bdbbc41916607f45.
-rw-r--r--django/utils/http.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/django/utils/http.py b/django/utils/http.py
index ba814504ad..6c55314096 100644
--- a/django/utils/http.py
+++ b/django/utils/http.py
@@ -34,11 +34,6 @@ ASCTIME_DATE = re.compile(r'^\w{3} %s %s %s %s$' % (__M, __D2, __T, __Y))
RFC3986_GENDELIMS = str(":/?#[]@")
RFC3986_SUBDELIMS = str("!$&'()*+,;=")
-PROTOCOL_TO_PORT = {
- 'http': 80,
- 'https': 443,
-}
-
@keep_lazy_text
def urlquote(url, safe='/'):