diff --git a/src/bentoml/_internal/server/runner_app.py b/src/bentoml/_internal/server/runner_app.py index 44a56ef93d..786ad32456 100644 --- a/src/bentoml/_internal/server/runner_app.py +++ b/src/bentoml/_internal/server/runner_app.py @@ -275,7 +275,7 @@ async def _request_handler(request: Request) -> Response: content=str(e), headers={ PAYLOAD_META_HEADER: "{}", - "Content-Type": "application/vnd.bentoml.error}", + "Content-Type": "application/vnd.bentoml.error", "Server": server_str, }, )