From d9fff510f36c6e90286b0e20017023ced2d30ea7 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Fri, 12 Apr 2024 18:26:43 +0100 Subject: [PATCH] docs: Fixed encryption/compression typo for 'accept-encoding: identity'. --- src/header/name.rs | 2 +- util/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/header/name.rs b/src/header/name.rs index 64a276ae..fe31744b 100644 --- a/src/header/name.rs +++ b/src/header/name.rs @@ -203,7 +203,7 @@ standard_headers! { /// not to compress if a server use more than 80 % of its computational /// power. /// - /// As long as the identity value, meaning no encryption, is not explicitly + /// As long as the identity value, meaning no compression, is not explicitly /// forbidden, by an identity;q=0 or a *;q=0 without another explicitly set /// value for identity, the server must never send back a 406 Not Acceptable /// error. diff --git a/util/src/main.rs b/util/src/main.rs index 915cf0b8..336b2347 100644 --- a/util/src/main.rs +++ b/util/src/main.rs @@ -68,7 +68,7 @@ standard_headers! { /// not to compress if a server use more than 80 % of its computational /// power. /// - /// As long as the identity value, meaning no encryption, is not explicitly + /// As long as the identity value, meaning no compression, is not explicitly /// forbidden, by an identity;q=0 or a *;q=0 without another explicitly set /// value for identity, the server must never send back a 406 Not Acceptable /// error.