diff --git a/CHANGES.rst b/CHANGES.rst index 129f2307..2a05be24 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,11 @@ pywb 0.3.1 changelist ~~~~~~~~~~~~~~~~~~~~~ -* Improve lxml rewriting, letting lxml handle decoding from bytestream (to address #36) +* Update wombat.js to support: scheme-relative urls rewriting, dom manipulation rewriting, disable web Worker api which could leak to live requests + +* Fixed support for empty arc/warc records. Indexed with '-', replay with '204 No Content' + +* Improve lxml rewriting, letting lxml handle parsing and decoding from bytestream directly (to address #36) pywb 0.3.0 changelist diff --git a/pywb/utils/test/test_loaders.py b/pywb/utils/test/test_loaders.py index c88805b5..88368146 100644 --- a/pywb/utils/test/test_loaders.py +++ b/pywb/utils/test/test_loaders.py @@ -32,6 +32,10 @@ True >>> BlockLoader(HMACCookieMaker('test', 'test', 5)).load('http://example.com', 41, 14).read() 'Example Domain' +# fixed cookie +>>> BlockLoader('some=value').load('http://example.com', 41, 14).read() +'Example Domain' + # test with extra id, ensure 4 parts of the A-B=C-D form are present >>> len(re.split('[-=]', HMACCookieMaker('test', 'test', 5).make('extra'))) 4 diff --git a/pywb/utils/test/test_statusandheaders.py b/pywb/utils/test/test_statusandheaders.py index 061532a3..2ee894b9 100644 --- a/pywb/utils/test/test_statusandheaders.py +++ b/pywb/utils/test/test_statusandheaders.py @@ -42,6 +42,7 @@ from io import BytesIO status_headers_1 = "\ HTTP/1.0 200 OK\r\n\ Content-Type: ABC\r\n\ +HTTP/1.0 200 OK\r\n\ Some: Value\r\n\ Multi-Line: Value1\r\n\ Also This\r\n\