Skip to content

Commit 679bdd7

Browse files
committed
Return to application/zip only.
1 parent 957e67d commit 679bdd7

File tree

1 file changed

+1
-1
lines changed
  • server/eclipse-project/src/main/java/au/org/democracydevelopers/corla/endpoint

1 file changed

+1
-1
lines changed

server/eclipse-project/src/main/java/au/org/democracydevelopers/corla/endpoint/GetAssertions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public String endpointBody(final Request the_request, final Response the_respons
126126
final ZipOutputStream os = new ZipOutputStream(SparkHelper.getRaw(the_response).getOutputStream());
127127
getAssertions(os, riskLimit, raireUrl, suffix);
128128

129-
the_response.header("Content-Type", "application/zip, application/octet-stream");
129+
the_response.header("Content-Type", "application/zip");
130130
the_response.header("Content-Disposition", "attachment; filename*=UTF-8''assertions.zip");
131131

132132
ok(the_response);

0 commit comments

Comments
 (0)