pub fn http_protocol_v2_fetch_response(
client: &UreqHttpClient,
remote: &RemoteUrl,
format: ObjectFormat,
handshake: &TransportHandshake,
fetch: ProtocolV2FetchRequest,
credentials: &mut dyn CredentialProvider,
) -> Result<Vec<ProtocolV2FetchResponseSection>>Expand description
Post a protocol v2 fetch RPC with wants/haves/shallow/deepen and
read back the sectioned response. Authenticates and validates status + content
type. When the server advertises sideband-all, the request and response use
the sideband-all wire form.