Browse Source

Add DOCTYPE. Misc cleanup.

Joel Martin 14 years ago
parent
commit
40f281ebbd
4 changed files with 4 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      utils/websocket.py
  3. 1 0
      vnc.html
  4. 1 0
      vnc_auto.html

+ 1 - 1
README.md

@@ -102,6 +102,6 @@ There a few reasons why a proxy is required:
 
 * [Integrating noVNC](wiki/Integration) into existing projects.
 
-* [Troubleshooting noVNC problems](wiki/Troubleshooting).
+* [Troubleshooting noVNC](wiki/Troubleshooting) problems.
 
 

+ 1 - 1
utils/websocket.py

@@ -256,7 +256,6 @@ Connection: Upgrade\r
 
         # Now get the data from the socket
         handshake = retsock.recv(4096)
-        #self.msg("handshake: " + repr(handshake))
 
         if len(handshake) == 0:
             raise self.EClose("Client closed during handshake")
@@ -274,6 +273,7 @@ Connection: Upgrade\r
             else:
                 raise self.EClose("")
 
+        #self.msg("handshake: " + repr(handshake))
         # Parse client WebSockets handshake
         h = self.parse_handshake(handshake)
 

+ 1 - 0
vnc.html

@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
     <!-- 
     noVNC example: simple example using default UI

+ 1 - 0
vnc_auto.html

@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
     <!-- 
     noVNC Example: Automatically connect on page load.