]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/server/sanic/server.py
make sure PHP and Python reverse code does the same
[nominatim.git] / nominatim / server / sanic / server.py
index cf1ef4ce2859ab352bec841fe591c8a2969d5af1..15887eefd71b04d2d519f77352a54b5758ab2d05 100644 (file)
@@ -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