mirror of
https://github.com/servo/servo.git
synced 2025-07-03 05:23:38 +01:00
8 lines
198 B
Python
8 lines
198 B
Python
import json
|
|
|
|
def main(request, response):
|
|
headers = [("Content-Type", "text/javascript")]
|
|
|
|
body = "var header = %s;" % json.dumps(request.headers["sec-metadata"]);
|
|
|
|
return headers, body
|