pywb
pywb copied to clipboard
archiveindexer.py: write status also for revisits, not only responses
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