mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 16:58:27 +02:00
Proxy all requests - even a repeated one (#1038)
* Adding proxyall * Adding proxyAll flag * Reverting extra spaces added * Make proxyall to true * Resolving review comments for proxyall * Resolving codefactor spaces in the code * Adding proxyall parser in wmserversettingsparser --------- Co-authored-by: Sameena Syed <sameena.syed@nexigroup.com>
This commit is contained in:
@@ -125,7 +125,8 @@ public static class WireMockServerSettingsParser
|
||||
{
|
||||
StatusCodePattern = parser.GetStringValue("SaveMappingForStatusCodePattern", "*"),
|
||||
// HttpMethods = new ProxySaveMappingSetting<string[]>(parser.GetValues("DoNotSaveMappingForHttpMethods", new string[0]), MatchBehaviour.RejectOnMatch)
|
||||
}
|
||||
},
|
||||
ProxyAll = parser.GetBoolValue(nameof(ProxyAndRecordSettings.ProxyAll))
|
||||
};
|
||||
|
||||
ParseWebProxyAddressSettings(proxyAndRecordSettings, parser);
|
||||
|
||||
Reference in New Issue
Block a user