pub fn protocol_of(headers: &HeaderMap) -> String
The protocol date a prepared request carries — its own header when it set one (the upload transport’s pin), else the build’s, which the transport adds as a default header.