Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / websocket / echo-request-headers_wsh.py
blob912b80ff2b502e317ef6be188a15eee98fffc816
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # Sends a single message on opening containing the headers received from the
6 # browser. The header keys have been converted to lower-case, while the values
7 # retain the original case.
9 import json
11 from mod_pywebsocket import msgutil
14 def web_socket_do_extra_handshake(request):
15 pass
18 def web_socket_transfer_data(request):
19 msgutil.send_message(request, json.dumps(dict(request.headers_in.items())))