added support for Deprecation header

This commit adds support for the `Deprecation` HTTP header based on
https://tools.ietf.org/id/draft-dalal-deprecation-header-03.html .
Users can set this header in a `Response` to send a
"Deprecation: true" header field back to the requester, signaling
that the resource accessed has been deprecated.

Signed-off-by: George Pisaltu <gpl@amazon.com>
This commit is contained in:
George Pisaltu
2021-10-19 18:26:19 +03:00
committed by Diana Popa
parent 36e59a083e
commit 0a58eb1ece
2 changed files with 79 additions and 1 deletions

View File

@@ -1 +1 @@
{"coverage_score": 92.9, "exclude_path": "", "crate_features": ""}
{"coverage_score": 93.1, "exclude_path": "", "crate_features": ""}