We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa0808 commit fb73a2bCopy full SHA for fb73a2b
python/serve/cortex_internal/serve/serve.py
@@ -187,7 +187,7 @@ def handle(request: Request):
187
verb = request.method.lower()
188
handle_fn_args = local_cache["handle_fn_args"]
189
if verb not in handle_fn_args:
190
- raise UserRuntimeException(f"`handle_{verb}` method is not implemented")
+ return Response(status_code=405, content="method not implemented")
191
192
handler_impl = local_cache["handler_impl"]
193
dynamic_batcher = None
0 commit comments