summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/encoding/resources/single-byte-raw.py
blob: b4a6c90405ec85d2d15222c2445fd9dcb12c8462 (plain)
1
2
3
def main(request, response):
  response.headers.set("Content-Type", "text/plain;charset=" + request.GET.first("label"))
  response.content = "".join(chr(byte) for byte in xrange(255))