Index: src/mapservice/server_impl/HttpErrors.py
===================================================================
--- src/mapservice/server_impl/HttpErrors.py	(revision ae2ff15d6963a93c67e87e175ea31292b8bb3d28)
+++ src/mapservice/server_impl/HttpErrors.py	(revision 8818b6542a2bbde959a62665ad81a8870c50424c)
@@ -17,19 +17,79 @@
 
 from werkzeug.exceptions import BadRequest, Unauthorized, NotFound, InternalServerError
-from connexion.exceptions import ProblemException 
+from connexion.exceptions import ProblemException
+
 
 class MapserviceBadRequest(ProblemException, BadRequest):
-	def __init__(self, type="bad-request", title=None, detail=None, instance=None, **kwargs):
-		super(MapserviceBadRequest, self).__init__(status=400, title="Bad Request", detail=detail, type=type, instance=instance, **kwargs)
-		
+    def __init__(
+        self,
+        type="bad-request",
+        title=None,
+        detail=None,
+        instance=None,
+        **kwargs
+    ):
+        super(MapserviceBadRequest, self).__init__(
+            status=400,
+            title="Bad Request",
+            detail=detail,
+            type=type,
+            instance=instance,
+            **kwargs
+        )
+
+
 class MapserviceUnauthorized(ProblemException, Unauthorized):
-	def __init__(self, type="unauthorized", title="Access denied", detail="You need to login to access the requested resource", instance=None, **kwargs):
-		super(MapserviceUnauthorized, self).__init__(status=401, title=title, detail=detail, type=type, instance=instance, **kwargs)
-		
+    def __init__(
+        self,
+        type="unauthorized",
+        title="Access denied",
+        detail="You need to login to access the requested resource",
+        instance=None,
+        **kwargs
+    ):
+        super(MapserviceUnauthorized, self).__init__(
+            status=401,
+            title=title,
+            detail=detail,
+            type=type,
+            instance=instance,
+            **kwargs
+        )
+
+
 class MapserviceNotFound(ProblemException, NotFound):
-	def __init__(self, type="not-found", title="Resouce not found", detail="The requested resource was not found", instance=None, **kwargs):
-		super(MapserviceNotFound, self).__init__(status=404, title=title, detail=detail, type=type, instance=instance, **kwargs)
+    def __init__(
+        self,
+        type="not-found",
+        title="Resouce not found",
+        detail="The requested resource was not found",
+        instance=None,
+        **kwargs
+    ):
+        super(MapserviceNotFound, self).__init__(
+            status=404,
+            title=title,
+            detail=detail,
+            type=type,
+            instance=instance,
+            **kwargs
+        )
+
 
 class MapserviceInternalServerError(ProblemException, InternalServerError):
-	def __init__(self, type="internal-server-error", title=None, detail=None, instance=None, **kwargs):
-		super(MapserviceInternalServerError, self).__init__(status=500, title="Internal Server Error", detail=detail, type=type, instance=instance, **kwargs)
+    def __init__(
+        self,
+        type="internal-server-error",
+        title=None,
+        detail=None,
+        instance=None,
+        **kwargs
+    ):
+        super(MapserviceInternalServerError, self).__init__(
+            status=500,
+            title="Internal Server Error",
+            detail=detail,
+            type=type,
+            instance=instance,
+            **kwargs
+        )
