mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 16:14:48 +01:00
archivalrouter: support empty collection, with and without SCRIPT_NAME cdx: remove cdx source test, including access denied replay: when content-type present, limit the decompressed stream to content-length (this ensures last 4 bytes in warc/arc record are not read) integration tests for identity replay
pywb.utils
This package contains a utils used by pywb wayback tool suite.
Modules
-
binsearch.py -- Binary search implementation over text files
-
loaders.py -- Loading abstraction for loading via http or local file system.
-
bufferedreaders.py -- Buffering wrappers for file-like object, also provide gzip decompression and de-chunking facilities.
-
statusandheaders.py -- Represent http status line + headers and parsing them out from a stream
-
timeutils.py -- Utility functions for converting between standard datetime formats 14-digit timestamp