This commit is contained in:
TomPallister
2020-02-21 16:53:03 +00:00
parent ec8a5b6ddf
commit ede5650a3c
2 changed files with 45 additions and 1 deletions

View File

@ -25,6 +25,7 @@ Here is an example ReRoute configuration, You don't need to set all of these thi
"Get"
],
"DownstreamHttpMethod": "",
"DownstreamHttpVersion": "",
"AddHeadersToRequest": {},
"AddClaimsToRequest": {},
"RouteClaimsRequirement": {},
@ -278,4 +279,9 @@ Registering a callback
{
_callbackHolder.Dispose();
}
}
}
DownstreamHttpVersion
---------------------
Ocelot allows you to choose the HTTP version it will use to make the proxy request. It can be set as "1.0", "1.1" or "2.0".