1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 16:14:48 +01:00
Ilya Kreymer 80dcb6ff27 rewrite: improvements to non-exact replay mode, redir_to_exact option set to false
frames: add request_ts to wbinfo and use that as the timestamp in the top-frame. for exact replay, request_ts == timestamp
for latest replay / no timestamp / memento timegate, redirect to current time instead of time of last capture, while serving
last capture.
timeutils: add timestamp_now() function to return timestamp of current datetime
Add extra tests for this mode
Tracked via #72
2015-02-17 17:51:45 -08:00
..
2014-02-17 10:01:09 -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