MCPcopy Create free account
hub / github.com/bdring/FluidNC / handle_cleanup

Method handle_cleanup

examples/http_command/http_command_server.py:300–307  ·  view source on GitHub ↗

Handle DELETE request for cleanup

(self)

Source from the content-addressed store, hash-verified

298 self.send_json_response(response_data, 200)
299
300 def handle_cleanup(self):
301 """Handle DELETE request for cleanup"""
302 print(f"Cleanup action triggered")
303
304 # Return 204 No Content for successful delete
305 self.send_response(204)
306 self.send_header('Content-Type', 'application/json')
307 self.end_headers()
308
309 def handle_metrics(self):
310 """Handle /metrics/* endpoints"""

Callers 1

do_DELETEMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected