MCPcopy
hub / github.com/benoitc/gunicorn / write

Method write

gunicorn/http/wsgi.py:69–75  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

67 self.streams.append(h.stream)
68
69 def write(self, data):
70 for stream in self.streams:
71 try:
72 stream.write(data)
73 except UnicodeError:
74 stream.write(data.encode("UTF-8"))
75 stream.flush()
76
77
78def base_environ(cfg):

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected