| OLD | NEW |
| 1 # Copyright 2013, Google Inc. All rights reserved. | 1 # Copyright 2013, Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 message += '; %s\r\n' % parameters | 47 message += '; %s\r\n' % parameters |
| 48 else: | 48 else: |
| 49 message += '\r\n' | 49 message += '\r\n' |
| 50 message += '\r\n' | 50 message += '\r\n' |
| 51 request.connection.write(message) | 51 request.connection.write(message) |
| 52 raise handshake.AbortedByUserException('Abort the connection') # Prevents py
websocket from sending its own handshake message. | 52 raise handshake.AbortedByUserException('Abort the connection') # Prevents py
websocket from sending its own handshake message. |
| 53 | 53 |
| 54 | 54 |
| 55 def web_socket_transfer_data(request): | 55 def web_socket_transfer_data(request): |
| 56 pass | 56 pass |
| OLD | NEW |