mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
7 lines
257 B
Python
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)
|