https://github.com/web-platform-tests/wpt
Raw File
Tip revision: aceba7094d3d8145b85544ecca7c44de5f4b4f3a authored by plehegar on 16 May 2018, 11:21:12 UTC
Fixed moderators
Tip revision: aceba70
form-echo.py
def main(request, response):
    bytes = bytearray(request.raw_input.read())
    bytes_string = " ".join("%02x" % b for b in bytes)
    return (
        [("Content-Type", "text/plain")],
        bytes_string
    )
back to top