This commit is contained in:
Stef Heyenrath
2018-08-07 20:34:35 +02:00
parent 4f7259d27a
commit 36866d9fc3
@@ -142,11 +142,13 @@ namespace WireMock.Net.ConsoleApplication
.WithBodyFromFile(@"c:\temp\x.json") .WithBodyFromFile(@"c:\temp\x.json")
); );
//server server
// .Given(Request.Create().WithPath("/file_rel").UsingGet()) .Given(Request.Create().WithPath("/file_rel").UsingGet())
// .RespondWith(Response.Create() .WithGuid("0000aaaa-fcf4-4256-a0d3-1c76e4862947")
// .WithBodyFromFile("Program.cs", false) .RespondWith(Response.Create()
// ); .WithHeader("Content-Type", "application/xml")
.WithBodyFromFile("WireMock.Net.xml", false)
);
server server
.Given(Request.Create().WithHeader("ProxyThis", "true") .Given(Request.Create().WithHeader("ProxyThis", "true")