From 3913a56558cd98158a586a8e708e8e1464c42112 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 6 Apr 2016 12:24:38 -0400 Subject: [PATCH] Removed unused django.utils.http.PROTOCOL_TO_PORT. Unused since b0c56b895fd2694d7f5d4595bdbbc41916607f45. --- django/utils/http.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/utils/http.py b/django/utils/http.py index ba814504ad7..6c55314096b 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='/'):