Commit a5204e2d authored by Shani Elharrar's avatar Shani Elharrar

Formatting (HttpHeadersExtne

parent ff43b5c9
......@@ -8,7 +8,8 @@ namespace uhttpsharp.Headers
public static bool KeepAliveConnection(this IHttpHeaders headers)
{
string value;
return headers.TryGetByName("Connection", out value) && value.Equals("Keep-Alive", StringComparison.InvariantCultureIgnoreCase);
return headers.TryGetByName("connection", out value)
&& value.Equals("Keep-Alive", StringComparison.InvariantCultureIgnoreCase);
}
public static bool TryGetByName<T>(this IHttpHeaders headers, string name, out T value)
......
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