Skip to content

Support for Custom Response Header #895

Discussion options

You must be logged in to vote

Starting in 6.0 this is now possible. The feature Sunset Policies implements RFC 8594, which satisfies this requirement. RFC 8288 is also supported so that you can provide additional links to published policies. It's worth noting that an API doesn't have to be deprecated to advertise a sunset date. You might know ahead of time that a supported API will deprecate and then fully sunset well in advance (ex: a year from now).

I'm behind on updating the documentation to fully outline the feature, but there is an open issue tracking that. You can see an example of how to use it here or take a look at the tests.

There is also now a client library to complement HttpClient which can detect this in…

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
1 reply
@brandonsmith86
Comment options

Answer selected by commonsensesoftware
Comment options

You must be logged in to vote
2 replies
@brandonsmith86
Comment options

@brandonsmith86
Comment options

Comment options

You must be logged in to vote
10 replies
@commonsensesoftware
Comment options

@brandonsmith86
Comment options

@brandonsmith86
Comment options

@commonsensesoftware
Comment options

@brandonsmith86
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants