diff --git a/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java b/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java index 1ad995c..0bc8eb5 100644 --- a/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java +++ b/cadc-download-manager-server/src/main/java/ca/nrc/cadc/dlm/server/PackageServlet.java @@ -28,6 +28,7 @@ public class PackageServlet extends HttpServlet { private static final Map METHOD_TO_CONTENT_TYPE_MAP = new HashMap<>(); private final ApplicationConfiguration configuration = new ApplicationConfiguration(DispatcherServlet.DEFAULT_CONFIG_FILE_PATH); + static { PackageServlet.METHOD_TO_CONTENT_TYPE_MAP.put(DispatcherServlet.TAR_PACKAGE, "application/x-tar"); PackageServlet.METHOD_TO_CONTENT_TYPE_MAP.put(DispatcherServlet.ZIP_PACKAGE, "application/zip");