Mercurial > hg > cc > cirrus_work
changeset 65:b88fdbe8bfa7
add a response-only test
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 19 Jul 2023 13:19:58 +0100 |
parents | b14187ccfb46 |
children | 75f1d3bc60d9 |
files | bin/test_warc.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/test_warc.py Wed Jul 19 13:19:42 2023 +0100 +++ b/bin/test_warc.py Wed Jul 19 13:19:58 2023 +0100 @@ -29,3 +29,5 @@ warc.warc(sys.argv[1],showme,[b'warcinfo'],whole=True,debug=debug) elif tt==4: warc.warc(sys.argv[1],showme,[b'response','warcinfo','request','metadata'],whole=True,debug=debug) +elif tt==5: + warc.warc(sys.argv[1],showme,[b'response'],parts=int(sys.argv[2]),debug=debug)