| Crates.io | refresh_parser |
| lib.rs | refresh_parser |
| version | 0.1.0 |
| created_at | 2023-03-23 21:04:52.927272+00 |
| updated_at | 2023-03-23 21:04:52.927272+00 |
| description | Imlementation of `refresh` content parsing algorithm. |
| homepage | https://gitlab.com/romko11l/refresh-parser |
| repository | https://gitlab.com/romko11l/refresh-parser |
| max_upload_size | |
| id | 818772 |
| size | 13,906 |
Modern browsers have several redirect mechanisms. One of them is refresh. You can use it in:
Refresh: 5; url=https://gitlab.com/
<meta http-equiv="Refresh" content="5; URL=https://gitlab.com/" />
Browsers allow different ways to fill refresh content. Therefore, the parsing algorithms for it are rather complicated:
This repository presents the implementation of this algorithm on rust.
Run tests:
cargo test
Run fuzzing (https://rust-fuzz.github.io/book/introduction.html):
cargo fuzz run fuzz_refresh_parser