We’ve been using Not-Modified responses for a while now and have just recently added a custom ResponseFilterSttribute that adds a response header.
However, we are finding when the server returns the 304 not modified the header isn’t getting returned.
Our services are doing this by throwing
throw HttpAdditionalExtensions.PreconditionFailed("Cannot Update");
What might we be misunderstanding with the ability to return the custom header (which may actually have a different value). It’s basically a rate-limit remaining header.