1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 16:14:48 +01:00
Ilya Kreymer 921b2eb2e1 improve testing and a few fixes:
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
2014-02-27 18:43:55 -08:00
..
2014-02-17 10:01:09 -08:00
2014-02-22 10:50:03 -08:00
2014-02-22 10:50:03 -08:00
2014-02-26 22:04:37 -08:00
2014-02-25 15:30:16 -08:00

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