@@ -0,0 +1,1987 @@
+# Copyright 2011, Google Inc.%0A# All rights reserved.%0A#%0A# Redistribution and use in source and binary forms, with or without%0A# modification, are permitted provided that the following conditions are%0A# met:%0A#%0A#     * Redistributions of source code must retain the above copyright%0A# notice, this list of conditions and the following disclaimer.%0A#     * Redistributions in binary form must reproduce the above%0A# copyright notice, this list of conditions and the following disclaimer%0A# in the documentation and/or other materials provided with the%0A# distribution.%0A#     * Neither the name of Google Inc. nor the names of its%0A# contributors may be used to endorse or promote products derived from%0A# this software without specific prior written permission.%0A#%0A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS%0A# %22AS IS%22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT%0A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR%0A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT%0A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,%0A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT%0A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,%0A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY%0A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT%0A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE%0A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%0A%0A%0A# Constants indicating WebSocket protocol version.%0AVERSION_HYBI01  = 1%0AVERSION_HYBI00  = 0%0AVERSION_HIXIE75 = -1%0A%0A# Port numbers%0ADEFAULT_WEB_SOCKET_PORT = 80%0ADEFAULT_WEB_SOCKET_SECURE_PORT = 443%0A%0A# Schemes%0AWEB_SOCKET_SCHEME = 'ws'%0AWEB_SOCKET_SECURE_SCHEME = 'wss'%0A%0A# Frame opcodes defined in the spec.%0AOPCODE_CONTINUATION = 0x0%0AOPCODE_CLOSE        = 0x1%0AOPCODE_PING         = 0x2%0AOPCODE_PONG         = 0x3%0AOPCODE_TEXT         = 0x4%0AOPCODE_BINARY       = 0x5%0A

Add common.py. I forgot to add this to the last change (http://codereview.appspot.com/3999042/).