소스 검색

Fix not returning complete body for non-chunked responses

Leftover from debugging
master
JustAnotherArchivist 4 년 전
부모
커밋
552a4147c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny 파일 보기

@@ -175,7 +175,7 @@ def iter_warc(f):
yield HTTPResponseBodyChunk(chunk)
httpBody = httpBody[chunkLineEnd + 2 + chunkLength + 2:]
else:
yield HTTPResponseBodyChunk(httpDecompressor.decompress(httpBody)[:50])
yield HTTPResponseBodyChunk(httpDecompressor.decompress(httpBody))
else:
print('Warning: malformed HTTP response, skipping', file = sys.stderr)
else:


불러오는 중...
취소
저장