Commit f307879f authored by justcoding121's avatar justcoding121

reset local var

parent 517ebcff
...@@ -65,6 +65,8 @@ namespace Titanium.Web.Proxy ...@@ -65,6 +65,8 @@ namespace Titanium.Web.Proxy
//check in unique headers //check in unique headers
if (authHeader == null) if (authHeader == null)
{ {
headerName = null;
//check in non-unique headers first //check in non-unique headers first
var uHeader = response.Headers.Headers.FirstOrDefault(x => authHeaderNames.Any(y => x.Key.Equals(y, StringComparison.OrdinalIgnoreCase))); var uHeader = response.Headers.Headers.FirstOrDefault(x => authHeaderNames.Any(y => x.Key.Equals(y, StringComparison.OrdinalIgnoreCase)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment