Commit 76d99c84 authored by justcoding121's avatar justcoding121

spelling

parent a013e311
......@@ -417,17 +417,17 @@ namespace Titanium.Web.Proxy
if (acceptEncoding != null)
{
var supporedAcceptEncoding = new List<string>();
var supportedAcceptEncoding = new List<string>();
//only allow proxy supported compressions
supporedAcceptEncoding.AddRange(acceptEncoding.Split(',')
supportedAcceptEncoding.AddRange(acceptEncoding.Split(',')
.Select(x => x.Trim())
.Where(x => proxySupportedCompressions.Contains(x)));
//uncompressed is always supported by proxy
supporedAcceptEncoding.Add("identity");
supportedAcceptEncoding.Add("identity");
requestHeaders.SetOrAddHeaderValue(KnownHeaders.AcceptEncoding, string.Join(",", supporedAcceptEncoding));
requestHeaders.SetOrAddHeaderValue(KnownHeaders.AcceptEncoding, string.Join(",", supportedAcceptEncoding));
}
requestHeaders.FixProxyHeaders();
......
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