zola/components/link_checker
Thomas Hurst 6a5ace62fc link_checker: Set Accept header
As mentioned in #381, crates.io 404's any request without an Accept:
text/html header.  It 200's any request with one, but at least
false-successes don't prevent checking any other links.

This also makes it easier to add a custom User-Agent if desired.

rustfmt and fix a clippy nit (unnecessary return) while I'm here.
2018-08-25 17:17:06 +01:00
..
src link_checker: Set Accept header 2018-08-25 17:17:06 +01:00
Cargo.toml Add an external link checker 2018-07-16 21:15:50 +02:00