Shared types & traits (re-exports from bit_object)
pub(open) trait HttpClient {
fn get(Self, String, Map[String, String]) -> (HttpResponse, Bytes) raise GitError
fn post(Self, String, Bytes, Map[String, String]) -> (HttpResponse, Bytes) raise GitError
}impl HttpClient for MockHttpClientfn get(self : MockHttpClient, url : String, _headers : Map[String, String]) -> (HttpResponse, Bytes) raise GitErrorfn post(self : MockHttpClient, url : String, _body : Bytes, _headers : Map[String, String]) -> (HttpResponse, Bytes) raise GitErrorfn MockHttpClient::add_response(self : MockHttpClient, url : String, code : Int, body : Bytes) -> Unit