mirror of
https://github.com/servo/servo.git
synced 2025-06-26 10:04:33 +01:00
10 lines
228 B
Python
10 lines
228 B
Python
import json
|
|
|
|
def main(request, response):
|
|
|
|
content = ""
|
|
if "my-custom-header" in request.GET:
|
|
val = request.GET.first("my-custom-header")
|
|
response.headers.set("My-Custom-Header", val)
|
|
|
|
return content
|