mono/mono — pull request #404 by AerisG222 (2012-07-21 02:18:01+00:00)
Title: HttpCapabilitiesProvider

This pull request is to add functionality for .net 4 that implements a provider model for HttpCapabilities. This is needed to support the library provided by 51degrees.mobi (http://51degrees.codeplex.com/) as discussed by Scott Hanselman (http://www.hanselman.com/blog/NuGetPackageOfTheWeek10NewMobileViewEnginesForASPNETMVC3SpeccompatibleWithASPNETMVC4.aspx).

* HttpCapabilitiesProvider.cs:
* HttpCapabilitiesDefaultProvider.cs: add new facility in .net 4 for
HttpCapabilitiesProvider.

* HttpCapabilitiesBase.cs: add new facility in .net 4 for
HttpCapabilitiesProvider. Also make the capability lookup case
insensitive, so that this functions like MS (as this allows the
51degrees.mobi functionality to work).

* HttpRequest.cs: updated for HttpCapabilitiesProvider.