Add DOCTYPE. Misc cleanup.
This commit is contained in:
parent
0981845ec4
commit
40f281ebbd
|
@ -102,6 +102,6 @@ There a few reasons why a proxy is required:
|
||||||
|
|
||||||
* [Integrating noVNC](wiki/Integration) into existing projects.
|
* [Integrating noVNC](wiki/Integration) into existing projects.
|
||||||
|
|
||||||
* [Troubleshooting noVNC problems](wiki/Troubleshooting).
|
* [Troubleshooting noVNC](wiki/Troubleshooting) problems.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -256,7 +256,6 @@ Connection: Upgrade\r
|
||||||
|
|
||||||
# Now get the data from the socket
|
# Now get the data from the socket
|
||||||
handshake = retsock.recv(4096)
|
handshake = retsock.recv(4096)
|
||||||
#self.msg("handshake: " + repr(handshake))
|
|
||||||
|
|
||||||
if len(handshake) == 0:
|
if len(handshake) == 0:
|
||||||
raise self.EClose("Client closed during handshake")
|
raise self.EClose("Client closed during handshake")
|
||||||
|
@ -274,6 +273,7 @@ Connection: Upgrade\r
|
||||||
else:
|
else:
|
||||||
raise self.EClose("")
|
raise self.EClose("")
|
||||||
|
|
||||||
|
#self.msg("handshake: " + repr(handshake))
|
||||||
# Parse client WebSockets handshake
|
# Parse client WebSockets handshake
|
||||||
h = self.parse_handshake(handshake)
|
h = self.parse_handshake(handshake)
|
||||||
|
|
||||||
|
|
1
vnc.html
1
vnc.html
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<!--
|
<!--
|
||||||
noVNC example: simple example using default UI
|
noVNC example: simple example using default UI
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<!--
|
<!--
|
||||||
noVNC Example: Automatically connect on page load.
|
noVNC Example: Automatically connect on page load.
|
||||||
|
|
Loading…
Reference in New Issue