Open
Description
As we're getting close to implementing versioning into pycrest I suppose we should support the X-Deprecated
header as well.
Question is: should we strive to implement this for a future update or the upcoming release (I think the latter)
My thoughts:
- raise DeprecationWarning messages when the header is present
- log deprecation messages
- add param to
__call__()
to suppress these messages
The X-Deprecated Header
To help you find out when a resource is updated, old versions will send an X-Deprecated header. It is up to you to decide what to do with this in your app to help alert you to update it.
source: versioning.md
Activity