//! Fetches a URL the way `curl --negotiate -u : --netrc-optional` would: with
//! the Kerberos ticket of the process when the server asks for it, with
//! `~/.netrc` credentials otherwise, through whatever proxy the environment
//! names. On failure it prints the request as a curl command to retry by hand.
//! Negotiate needs a libcurl built with GSS-API, which the system one is; a
//! `static-curl` build without the `spnego` feature fails with "not built-in".
//!
//! cargo run --example intranet -- https://wiki.corp.example/page
use Auth;