Release the current serving (request and response).
(self)
| 163 | return req, resp |
| 164 | |
| 165 | def release_serving(self): |
| 166 | """Release the current serving (request and response).""" |
| 167 | req = cherrypy.serving.request |
| 168 | |
| 169 | cherrypy.engine.publish('after_request') |
| 170 | |
| 171 | try: |
| 172 | req.close() |
| 173 | except Exception: |
| 174 | cherrypy.log(traceback=True, severity=40) |
| 175 | |
| 176 | cherrypy.serving.clear() |
| 177 | |
| 178 | def __call__(self, environ, start_response): |
| 179 | """Call a WSGI-callable.""" |