1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00

Removed unused django.utils.http.PROTOCOL_TO_PORT.

Unused since b0c56b895fd2694d7f5d4595bdbbc41916607f45.
This commit is contained in:
Tim Graham 2016-04-06 12:24:38 -04:00
parent 8dcd01046e
commit 3913a56558

View File

@ -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='/'):