lychee/lychee-lib/src
Matthias 22fecfc056
Add support for URI remapping (#620)
Remaps allow mapping from a URI pattern to a different URI.

The syntax is

```
lychee --remap 'https://example.com http://127.0.0.1'
```

Some use-cases are
- Testing URIs prior to production deployment
- Testing URIs behind a proxy

Be careful when using this feature because checking every link against a
large set of regular expressions has a performance impact. Also there are no
constraints on the URI mapping, so the rules might contradict with each
other.
Remap rules get applied in order of definition to every input URI.
2022-05-29 21:41:22 +02:00
..
extract Refactor response formatting (#599) 2022-04-25 19:19:36 +02:00
filter Improved IPv6 filtering support (#501) 2022-02-22 10:39:44 +01:00
helpers Add support for excluding paths from link checking (#623) 2022-05-29 17:27:09 +02:00
quirks Refactor response formatting (#599) 2022-04-25 19:19:36 +02:00
types Add support for URI remapping (#620) 2022-05-29 21:41:22 +02:00
client.rs Add support for URI remapping (#620) 2022-05-29 21:41:22 +02:00
collector.rs Add support for excluding paths from link checking (#623) 2022-05-29 17:27:09 +02:00
lib.rs Add support for URI remapping (#620) 2022-05-29 21:41:22 +02:00
remap.rs Add support for URI remapping (#620) 2022-05-29 21:41:22 +02:00
test_utils.rs Remove missing_panic_doc (#561) 2022-03-22 21:02:56 +01:00