Closed
Description
The IIS server adds an HTTP feature IServerVariablesFeature
. Server Variables are not an IIS-exclusive concept and date all the way back to CGI so it seems reasonable that a server may want to provide them. We should move this type out of Servers.IIS and in to HttpAbstractions.
Specific changes:
- Move
IServerVariablesFeature
to Http.Features - Add
GetServerVariables
extension method in Http.Features. - Change
GetIISServerVariables
extension method to just callGetServerVariables
(and mark as[Obsolete]
?) - Update all reference assemblies
- Add
TypeForwardedToAttribute
toServers.IIS
'sAssemblyInfo.cs
pointing at the new type.