MCPcopy Create free account
hub / github.com/ActiveState/code / output

Method output

recipes/Python/577524_Python_Sessions/recipe-577524.py:149–154  ·  view source on GitHub ↗

Commit changes and send headers.

(self)

Source from the content-addressed store, hash-verified

147 self.started = False
148
149 def output(self):
150 """Commit changes and send headers."""
151 if not self.started:
152 raise NotStarted("Session must be started")
153 self.commit()
154 return self.cookie.output()
155
156 def setdefault(self, item, default=None):
157 if not self.started:

Callers 1

mainFunction · 0.45

Calls 2

commitMethod · 0.95
NotStartedClass · 0.85

Tested by

no test coverage detected