ProxyThisHttps (#538)

This commit is contained in:
Stef Heyenrath
2020-11-10 15:42:17 +00:00
committed by GitHub
parent c104b8beba
commit b14bc01bf2

View File

@@ -250,6 +250,13 @@ namespace WireMock.Net.ConsoleApplication
.WithProxy("http://www.google.com")
);
server
.Given(Request.Create().WithHeader("ProxyThisHttps", "true")
.UsingGet())
.RespondWith(Response.Create()
.WithProxy("https://www.google.com")
);
server
.Given(Request.Create().WithPath("/bodyasbytes.png")
.UsingGet())