Commit adb2065c authored by justcoding121's avatar justcoding121

update constants; rename file

parent 8a4992f1
......@@ -17,7 +17,7 @@ namespace Titanium.Web.Proxy.Extensions
/// <returns></returns>
internal static Encoding GetEncoding(this Request request)
{
return HeaderHelper.GetEncodingFromContentType(request.ContentType);
return HttpHelper.GetEncodingFromContentType(request.ContentType);
}
}
}
......@@ -14,7 +14,7 @@ namespace Titanium.Web.Proxy.Extensions
/// <returns></returns>
internal static Encoding GetResponseCharacterEncoding(this Response response)
{
return HeaderHelper.GetEncodingFromContentType(response.ContentType);
return HttpHelper.GetEncodingFromContentType(response.ContentType);
}
}
}
......@@ -7,6 +7,8 @@ namespace Titanium.Web.Proxy.Shared
/// </summary>
internal class ProxyConstants
{
internal static readonly char DotSplit = '.';
internal static readonly char[] SpaceSplit = { ' ' };
internal static readonly char[] ColonSplit = { ':' };
internal static readonly char[] SemiColonSplit = { ';' };
......
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