blob: 703cb7401b787ac6e11c6746c6842e57d380956c [file] [log] [blame]
# Copyright 2014 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the COPYING file or at
"""CGI script sample for testing effect of HTTP headers on the origin page.
Note that CGI scripts don't work on the standalone pywebsocket running in TLS
print """Content-type: text/html
Content-Security-Policy: connect-src self
var socket = new WebSocket("ws://");