diff --git a/app/status/healthcheck.py b/app/status/healthcheck.py index 83e425d61..e2a4b5b9a 100644 --- a/app/status/healthcheck.py +++ b/app/status/healthcheck.py @@ -14,7 +14,7 @@ def show_status(): if request.args.get("simple", None): return jsonify(status="ok"), 200 else: - return ( + response = make_response( jsonify( status="ok", # This should be considered part of the public API git_commit=version.__git_commit__, @@ -23,6 +23,8 @@ def show_status(): ), 200, ) + response.headers["Content-Type"] = "application/json" + return response @status.route("/_status/live-service-and-organization-counts")