moved the http server to common, added more http handlers

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-12 23:50:50 -04:00
parent 572103cdfe
commit 5f5f2838b1
60 changed files with 12955 additions and 209 deletions

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
namespace MediaBrowser.Common.Net
{
public static class CollectionExtensions
{
public static IDictionary<string, IEnumerable<string>> ToDictionary(this NameValueCollection source)
{
return source.AllKeys.ToDictionary<string, string, IEnumerable<string>>(key => key, source.GetValues);
}
}
}