Sends an HTTP /exit GET request to the server. The server is expected to terminate its process while handling that request.
(self, exc_type, exc_value, exc_tb)
| 191 | return self |
| 192 | |
| 193 | def __exit__(self, exc_type, exc_value, exc_tb): |
| 194 | """Sends an HTTP /exit GET request to the server. |
| 195 | |
| 196 | The server is expected to terminate its process while handling that request. |
| 197 | """ |
| 198 | self.get("/exit", log_errors=False) |
| 199 | |
| 200 | def get(self, path, *args, **kwargs): |
| 201 | return WebRequest.get(self.url + path, *args, **kwargs) |