servo/tests/wpt/web-platform-tests/xhr/resources/accept.py

2 lines
110 B
Python

def main(request, response):
return [("Content-Type", "text/plain")], request.headers.get("accept", "NO")