chromium/third_party/blink/web_tests/external/wpt/xhr/resources/accept.py

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