(self, s)
| 114 | return RTSPRequest in other |
| 115 | |
| 116 | def do_dissect(self, s): |
| 117 | first_line, body = _dissect_headers(self, s) |
| 118 | try: |
| 119 | Version, Status, Reason = re.split(rb"\s+", first_line, maxsplit=2) |
| 120 | self.setfieldval("Version", Version) |
| 121 | self.setfieldval("Status_Code", Status) |
| 122 | self.setfieldval("Reason_Phrase", Reason) |
| 123 | except ValueError: |
| 124 | pass |
| 125 | if body: |
| 126 | self.raw_packet_cache = s[: -len(body)] |
| 127 | else: |
| 128 | self.raw_packet_cache = s |
| 129 | return body |
| 130 | |
| 131 | def mysummary(self): |
| 132 | return self.sprintf( |
nothing calls this directly
no test coverage detected