Files
node/test/fixtures/wpt/encoding/resources/text-plain-charset.py
T
Joyee Cheung 8906e5209b test: pull enconding WPT test fixtures
PR-URL: https://github.com/nodejs/node/pull/25321
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-01-10 19:54:55 +08:00

4 lines
158 B
Python

def main(request, response):
response.headers.set("Content-Type", "text/plain;charset=" + request.GET.first("label"))
response.content = "hello encoding"