Fixed typo in django.core.servers.basehttp message.
This commit is contained in:
parent
1bfcc950ab
commit
e467919c63
|
@ -126,7 +126,7 @@ class WSGIRequestHandler(simple_server.WSGIRequestHandler, object):
|
||||||
elif args[1][0] == '4':
|
elif args[1][0] == '4':
|
||||||
# 0x16 = Handshake, 0x03 = SSL 3.0 or TLS 1.x
|
# 0x16 = Handshake, 0x03 = SSL 3.0 or TLS 1.x
|
||||||
if args[0].startswith(str('\x16\x03')):
|
if args[0].startswith(str('\x16\x03')):
|
||||||
msg = ("You're accessing the developement server over HTTPS, "
|
msg = ("You're accessing the development server over HTTPS, "
|
||||||
"but it only supports HTTP.\n")
|
"but it only supports HTTP.\n")
|
||||||
msg = self.style.HTTP_BAD_REQUEST(msg)
|
msg = self.style.HTTP_BAD_REQUEST(msg)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue