You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
I'm doing some resource versioning using an IOutputFormatter and would like to provide other mechanisms of versioning than just using the Accept header, like using a custom header, or even the URI for that matter.
This is not possible today (AFAIK) because theHttpContext property sits in OutputFormatterWriteContext rather than OutputFormatterCanWriteContext.
I'm doing some resource versioning using an
IOutputFormatter
and would like to provide other mechanisms of versioning than just using theAccept
header, like using a custom header, or even the URI for that matter.This is not possible today (AFAIK) because the
HttpContext
property sits inOutputFormatterWriteContext
rather thanOutputFormatterCanWriteContext
.Would it be possible to move the property up a level? See dev...khellang:move-http-context-up for an idea of what I'm talking about.
The text was updated successfully, but these errors were encountered: