Преглед изворни кода

Fix broken block digest calculation on malformed HTTP responses

master
JustAnotherArchivist пре 4 година
родитељ
комит
376cde7b8c
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      warc-tiny

+ 1
- 0
warc-tiny Прегледај датотеку

@@ -179,6 +179,7 @@ def iter_warc(f):
yield HTTPResponseBodyChunk(httpDecompressor.decompress(httpBody))
else:
print('Warning: malformed HTTP response in record {}, skipping'.format(recordID), file = sys.stderr)
yield WARCBlockChunk(warcContent)
else:
yield WARCBlockChunk(warcContent)
yield EndOfRecord()


Loading…
Откажи
Сачувај