Ver a proveniência

Fix broken block digest calculation on malformed HTTP responses

master
JustAnotherArchivist há 4 anos
ascendente
cometimento
376cde7b8c
1 ficheiros alterados com 1 adições e 0 eliminações
  1. +1
    -0
      warc-tiny

+ 1
- 0
warc-tiny Ver ficheiro

@@ -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()


Carregando…
Cancelar
Guardar