trisquel-icecat/icecat/testing/web-platform/tests/xhr/resources/accept.py

2 lines
114 B
Python

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