We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bcf0d3 + e0a3e2e commit 202fc16Copy full SHA for 202fc16
1 file changed
examples/eventlet/eventlet-server.py
@@ -51,7 +51,7 @@ def request_received(self, headers, stream_id):
51
response_headers = (
52
(':status', '200'),
53
('content-type', 'application/json'),
54
- ('content-length', len(data)),
+ ('content-length', str(len(data))),
55
('server', 'eventlet-h2'),
56
)
57
self.conn.send_headers(stream_id, response_headers)
0 commit comments