pywb icon indicating copy to clipboard operation
pywb copied to clipboard

archiveindexer.py: write status also for revisits, not only responses

Open steph-nb opened this issue 2 years ago • 0 comments
trafficstars

archiveindexer.py does not write the status-code information for revisits ("only for response records (by convention):").

Therefore when loading such a cdxj-File to outbackcdx, it results in a status-code of '-1'. Which is not nice and just not true.

Describe the solution you'd like

archiveindexer.py should write the statuscode to the cdxj also for revisits (like cdx-indexer and cdxj-indexer do). This would make it possible to have the correct stauscode for revisits loaded and fetched from outbackcdx

steph-nb avatar Dec 02 '22 09:12 steph-nb