Skip to content

Commit

Permalink
Bump 5.1.2-SNAPSHOT
Browse files Browse the repository at this point in the history
chunking bug fix
  • Loading branch information
Thomas Egense committed Jun 12, 2024
1 parent 792c90f commit 1833402
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@



5.1.2
-----
Bug fix. Chunking was not removed in all cases. This was only relevant for WARC-files that are created with chunking. (not Heritrix)


5.1.1
-----
Little cleanup in log messages due to shard-splitting to avoid repeated stack traces.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>dk.kb.netarchivesuite.solrwayback</groupId>
<artifactId>solrwayback</artifactId>
<version>5.1.1</version>
<version>5.1.2-SNAPSHOT</version>
<packaging>war</packaging>
<name>solrwayback</name>
<url>https://maven.apache.org</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ private Response viewImpl(String source_file_path, long offset,Boolean showToolb
//log.debug("setting contentype:"+contentType);
//

ResponseBuilder response = Response.ok(arcEntry.getBinaryRaw()).type(contentType );
ResponseBuilder response = Response.ok(arcEntry.getBinaryNoChunking()).type(contentType );

if (arcEntry.isHasBeenDecompressed()){ //Will have if playback (HTML, Twitter, etc.) has replaced the content
response.header("Content-Encoding", "identity"); //Not required, but will make it easier to see it has been applied.
Expand Down

0 comments on commit 1833402

Please sign in to comment.