Mark RedirectAuthHeaders as non_exhaustive
This commit is contained in:
1 parent
27533cf31b
commit
f941717a5d
1 file changed
+1
@@ -22,6 +22,7 @@ use {
|
||||
/// `SameHost` send the authorization header in redirects only if the host of the redirect is
|
||||
/// the same of the previous request, and both use the `https` scheme.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[non_exhaustive]
|
||||
pub enum RedirectAuthHeaders {
|
||||
/// Never preserve the `authorization` header on redirect. This is the default.
|
||||
Never,
|
||||
|
||||
Reference in new issue
Block a user