summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/encoding/resources/text-plain-charset.py
blob: d7e788244270645ddd975518ff6f0db459b565a2 (plain)
1
2
3
def main(request, response):
  response.headers.set(b"Content-Type", b"text/plain;charset=" + request.GET.first(b"label"))
  response.content = b"hello encoding"