#474 tests to show how spaces in headers work (#483)

This commit is contained in:
Tom Pallister
2018-07-21 00:10:06 +01:00
committed by GitHub
parent 7dbfc46e7b
commit 079ec0f365
3 changed files with 177 additions and 105 deletions

View File

@ -746,7 +746,7 @@ namespace Ocelot.AcceptanceTests
public void GivenIAddAHeader(string key, string value)
{
_ocelotClient.DefaultRequestHeaders.Add(key, value);
_ocelotClient.DefaultRequestHeaders.TryAddWithoutValidation(key, value);
}
public void WhenIGetUrlOnTheApiGatewayMultipleTimes(string url, int times)