Explorar el Código

Fix broken block digest calculation on malformed HTTP responses

master
JustAnotherArchivist hace 4 años
padre
commit
376cde7b8c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      warc-tiny

+ 1
- 0
warc-tiny Ver fichero

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


Cargando…
Cancelar
Guardar