aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/query_endstops.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/query_endstops.py')
-rw-r--r--klippy/extras/query_endstops.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/klippy/extras/query_endstops.py b/klippy/extras/query_endstops.py
index b7fc2d04..0bbb11c2 100644
--- a/klippy/extras/query_endstops.py
+++ b/klippy/extras/query_endstops.py
@@ -22,8 +22,6 @@ class QueryEndstops:
def get_status(self, eventtime):
return {'last_query': {name: value for name, value in self.last_state}}
def _handle_web_request(self, web_request):
- if web_request.get_method() != 'GET':
- raise web_request.error("Invalid Request Method")
gc_mutex = self.printer.lookup_object('gcode').get_mutex()
toolhead = self.printer.lookup_object('toolhead')
with gc_mutex: