mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-19 15:31:39 +02:00
ProxyThisHttps (#538)
This commit is contained in:
@@ -250,6 +250,13 @@ namespace WireMock.Net.ConsoleApplication
|
|||||||
.WithProxy("http://www.google.com")
|
.WithProxy("http://www.google.com")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
server
|
||||||
|
.Given(Request.Create().WithHeader("ProxyThisHttps", "true")
|
||||||
|
.UsingGet())
|
||||||
|
.RespondWith(Response.Create()
|
||||||
|
.WithProxy("https://www.google.com")
|
||||||
|
);
|
||||||
|
|
||||||
server
|
server
|
||||||
.Given(Request.Create().WithPath("/bodyasbytes.png")
|
.Given(Request.Create().WithPath("/bodyasbytes.png")
|
||||||
.UsingGet())
|
.UsingGet())
|
||||||
|
|||||||
Reference in New Issue
Block a user