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

3 lines
135 B
Python

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