From 4fdc9815cdf2f06478b3f88a0a5d8560395f7110 Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Tue, 6 Dec 2022 20:41:15 -0800 Subject: [PATCH] fix(runner): content-type error (#3302) --- src/bentoml/_internal/server/runner_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bentoml/_internal/server/runner_app.py b/src/bentoml/_internal/server/runner_app.py index 44a56ef93dd..786ad32456d 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, }, )