Skip to content

Commit 4e8612b

Browse files
committed
try omitting content length
1 parent 8fce953 commit 4e8612b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workspace-server/src/main/java/gov/nasa/jpl/aerie/workspace/server/WorkspaceBindings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private void get(Context context) throws NoSuchWorkspaceException {
241241
context.header("x-render-type", workspaceService.getFileType(pathInfo.filePath).name());
242242
context.contentType(ContentType.OCTET_STREAM);
243243
context.header("Content-Disposition", "attachment; filename=\"" + pathInfo.fileName() + "\"");
244-
context.header("Content-Length", "" + fileStream.fileSize());
244+
// context.header("Content-Length", "" + fileStream.fileSize());
245245
context.status(200).result(inputStream);
246246
} catch (IOException | SQLException e) {
247247
context.status(500).result("Could not load file " + pathInfo.fileName());

0 commit comments

Comments
 (0)