machawk1 / wail

:whale2: Web Archiving Integration Layer: One-Click User Instigated Preservation
https://matkelly.com/wail
MIT License
350 stars 35 forks source link

Service checker gives false positive if any service is using respective localhost port #39

Open machawk1 opened 11 years ago

machawk1 commented 5 years ago

Checking for the Link: <http://mementoweb.org/terms/donotnegotiate>; rel="type" response header would make the false positive far less likely, as most services won't report this header at 0.0.0.0:8080. If the OpenWayback code could be tweaked to report a "generator" or something of the like, that would make this check more certain. For now, the above Link checking would make this check more reliable.

machawk1 commented 5 years ago

The Heritrix server has some indicators as well but not as distinct as OpenWayback's Link header. It would be useful to see if the default HTTP responses from each could contain a Server response header.