An open API service indexing awesome lists of open source software.

https://github.com/thehoneymad/owinforwardedheadermiddleware

The new RFC-7239 compatible Forwarded header middleware for Asp.net Web Api.
https://github.com/thehoneymad/owinforwardedheadermiddleware

asp-net-web-api dotnet owin-middleware

Last synced: about 2 months ago
JSON representation

The new RFC-7239 compatible Forwarded header middleware for Asp.net Web Api.

Awesome Lists containing this project

README

          

# RFC-7239 compliant reverse-proxy middleware for OWIN

[![Build status](https://ci.appveyor.com/api/projects/status/vsb5po5kfx3et117?svg=true)](https://ci.appveyor.com/project/thehoneymad/owinforwardedheadermiddleware)

To use the middleware in a OWIN startup:

public void Configuration(IAppBuilder app)
{
app.UseForwardHeaders(options: default(ForwardedHeadersOptions));
}

You can opt for a X-Forwarded-\* standard of proxy headers or you can opt for the new RFC-7234 compliant forwarded headers. Using ForwardedHeadersOptions you can define your desired standard.