diff --git a/CHANGES.md b/CHANGES.md
index 3d620d6d..f5c68ff3 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -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.
diff --git a/pom.xml b/pom.xml
index ab3dfe64..4e290d03 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
dk.kb.netarchivesuite.solrwayback
solrwayback
- 5.1.1
+ 5.1.2-SNAPSHOT
war
solrwayback
https://maven.apache.org
diff --git a/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackResource.java b/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackResource.java
index b9704e67..773345f2 100644
--- a/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackResource.java
+++ b/src/main/java/dk/kb/netarchivesuite/solrwayback/service/SolrWaybackResource.java
@@ -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.