(self)
| 79 | self.wfile.write(to_send.encode('ascii')) |
| 80 | |
| 81 | def do_POST(self): |
| 82 | len = self.headers.get('Content-Length') |
| 83 | s = self.rfile.read(int(len)) |
| 84 | self.send_response(200) |
| 85 | self.send_header("Content-type", "text/plain") |
| 86 | self.end_headers() |
| 87 | self.wfile.write('PONG'.encode('ascii')) |
| 88 | self.wfile.write(s) |
| 89 | |
| 90 | def do_PUT(self): |
| 91 | len = self.headers.get('Content-Length') |
nothing calls this directly
no test coverage detected