(self)
| 132 | fblock_ptr = fblock['m_next'] |
| 133 | |
| 134 | def pr(self): |
| 135 | if self.is_valid(): |
| 136 | if self.is_request(): |
| 137 | print("{} {}".format(self.method(), self.url())) |
| 138 | if self.is_response(): |
| 139 | print("status: {}".format(self.status())) |
| 140 | for key, val in self.headers(): |
| 141 | print("{}: {}".format(key, val)) |
| 142 | else: |
| 143 | print("invalid") |
| 144 | |
| 145 | |
| 146 | class ConnectionAttributes: |
no test coverage detected