(self, updated)
| 88 | ) |
| 89 | |
| 90 | def configure(self, updated): |
| 91 | if "save_stream_filter" in updated: |
| 92 | if ctx.options.save_stream_filter: |
| 93 | try: |
| 94 | self.filt = flowfilter.parse(ctx.options.save_stream_filter) |
| 95 | except ValueError as e: |
| 96 | raise exceptions.OptionsError(str(e)) from e |
| 97 | else: |
| 98 | self.filt = None |
| 99 | |
| 100 | if "hardump" in updated: |
| 101 | if not ctx.options.hardump: |
| 102 | self.flows = [] |
| 103 | |
| 104 | def response(self, flow: http.HTTPFlow) -> None: |
| 105 | # websocket flows will receive a websocket_end, |