(self, flow: http.HTTPFlow)
| 102 | self.flows = [] |
| 103 | |
| 104 | def response(self, flow: http.HTTPFlow) -> None: |
| 105 | # websocket flows will receive a websocket_end, |
| 106 | # we don't want to persist them here already |
| 107 | if flow.websocket is None: |
| 108 | self._save_flow(flow) |
| 109 | |
| 110 | def error(self, flow: http.HTTPFlow) -> None: |
| 111 | self.response(flow) |