aria2-core 0.3.14

aria2-rust core download engine: multi-protocol segmented downloads, rate limiting, configuration, session persistence, and BitTorrent seeding
Documentation
1
2
3
4
5
6
7
8
use super::parse_content_disposition;

#[test]
fn historical_core_module_path_reaches_protocol_parser() {
    let result = parse_content_disposition("attachment; filename=report.txt");
    assert_eq!(result.disposition_type, "attachment");
    assert_eq!(result.filename.as_deref(), Some("report.txt"));
}