8 references to WriteResponse
Infrastructure.Tests (8)
PowerShellScripts\DownloadNativeArchivesTests.cs (8)
666WriteResponse(stream, 200, "application/json", Encoding.UTF8.GetBytes(payload)); 676WriteResponse(stream, 500, contentType: null, []); 684WriteResponse(stream, 500, contentType: null, []); 696WriteResponse(stream, 200, "application/zip", zipBytes, prefixLength); 707WriteResponse(stream, 200, "application/zip", Encoding.UTF8.GetBytes("this is not a zip file")); 712WriteResponse(stream, 200, "application/zip", bytes); 715WriteResponse(stream, 404, contentType: null, []); 719WriteResponse(stream, 404, contentType: null, []);