1
0
Fork 0
firefox/testing/web-platform/tests/fetch/api/resources/echo-content.h2.py
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

7 lines
257 B
Python

def handle_headers(frame, request, response):
response.status = 200
response.headers.update([('Content-Type', 'text/plain')])
response.write_status_headers()
def handle_data(frame, request, response):
response.writer.write_data(frame.data)