X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/300921a93e29d6bdc2a7da8ceaebfcce0c555c84..2af20f8df88461f2593c7fa0851e3841f20d66c3:/nominatim/server/sanic/server.py diff --git a/nominatim/server/sanic/server.py b/nominatim/server/sanic/server.py index cf1ef4ce..15887eef 100644 --- a/nominatim/server/sanic/server.py +++ b/nominatim/server/sanic/server.py @@ -36,7 +36,6 @@ class ParamWrapper(api_impl.ASGIAdaptor): def error(self, msg: str, status: int = 400) -> SanicException: exception = SanicException(msg, status_code=status) - exception.headers = {'content-type': self.content_type} return exception