fn full_header_preset() {
    let page = get(
        &["--addr", "[::]:1970"],
        addr(1970),
        "gemini://localhost/gone.txt",
    )
    .expect("could not get page");

    assert_eq!(
        page.header,
        Header {
            status: Status::Gone,
            meta: "This file is no longer available.".to_string(),
        }
    );
}
/// - full header lines can be set in the configuration file
full header lines can be set in the configuration file
full header lines can be set in the configuration file
fn full_header_preset() {
    let page = get(
        &["--addr", "[::]:1970"],
        addr(1970),
        "gemini://localhost/gone.txt",
    )
    .expect("could not get page");
    assert_eq!(
        page.header,
        Header {
            status: Status::Gone,
            meta: "This file is no longer available.".to_string(),
        }
    );
}
fn full_header_preset ( ) { let page = get ( & [ " " , " " ] , addr ( 1970 ) , " " , ) . expect ( " " ) ; assert_eq ! ( page header Header { status Status Gone meta " " to_string ( ) } ) ; }
full header lines can be set in the configuration file
full header lines can be set in the configuration file