mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Removed unused django.utils.http.PROTOCOL_TO_PORT.
Unused since b0c56b895fd2694d7f5d4595bdbbc41916607f45.
This commit is contained in:
parent
8dcd01046e
commit
3913a56558
@ -34,11 +34,6 @@ ASCTIME_DATE = re.compile(r'^\w{3} %s %s %s %s$' % (__M, __D2, __T, __Y))
|
|||||||
RFC3986_GENDELIMS = str(":/?#[]@")
|
RFC3986_GENDELIMS = str(":/?#[]@")
|
||||||
RFC3986_SUBDELIMS = str("!$&'()*+,;=")
|
RFC3986_SUBDELIMS = str("!$&'()*+,;=")
|
||||||
|
|
||||||
PROTOCOL_TO_PORT = {
|
|
||||||
'http': 80,
|
|
||||||
'https': 443,
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@keep_lazy_text
|
@keep_lazy_text
|
||||||
def urlquote(url, safe='/'):
|
def urlquote(url, safe='/'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user