Lines Matching refs:httpmock
252 fakeHTTP := &httpmock.Registry{}
253 …fakeHTTP.Register(httpmock.REST("GET", "repos/OWNER/REPO/releases/tags/v1.2.3"), httpmock.StringRe…
265 fakeHTTP.Register(httpmock.REST("GET", "assets/1234"), httpmock.StringResponse(`1234`))
266 fakeHTTP.Register(httpmock.REST("GET", "assets/3456"), httpmock.StringResponse(`3456`))
267 fakeHTTP.Register(httpmock.REST("GET", "assets/5678"), httpmock.StringResponse(`5678`))
270 httpmock.REST(
274 httpmock.WithHeader(
275 httpmock.StringResponse("somedata"), "content-disposition", "attachment; filename=tarball.tgz",
280 httpmock.REST(
284 httpmock.WithHeader(
285 httpmock.StringResponse("somedata"), "content-disposition", "attachment; filename=zipball.zip",