(self)
| 88 | self.wfile.write(s) |
| 89 | |
| 90 | def do_PUT(self): |
| 91 | len = self.headers.get('Content-Length') |
| 92 | s = self.rfile.read(int(len)) |
| 93 | |
| 94 | self.send_response(200) |
| 95 | self.send_header("Content-type", "text/plain") |
| 96 | self.end_headers() |
| 97 | self.wfile.write('PONG_PUT'.encode('ascii')) |
| 98 | self.wfile.write(s) |
| 99 | |
| 100 | def do_HEAD(self): |
| 101 | self.send_response(200) |
nothing calls this directly
no test coverage detected