Skip to content

Commit 64bd92b

Browse files
authored
docs: Fixed encryption/compression typo for 'accept-encoding: identity'. (#695)
1 parent b03ed6a commit 64bd92b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/header/name.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ standard_headers! {
203203
/// not to compress if a server use more than 80 % of its computational
204204
/// power.
205205
///
206-
/// As long as the identity value, meaning no encryption, is not explicitly
206+
/// As long as the identity value, meaning no compression, is not explicitly
207207
/// forbidden, by an identity;q=0 or a *;q=0 without another explicitly set
208208
/// value for identity, the server must never send back a 406 Not Acceptable
209209
/// error.

util/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ standard_headers! {
6868
/// not to compress if a server use more than 80 % of its computational
6969
/// power.
7070
///
71-
/// As long as the identity value, meaning no encryption, is not explicitly
71+
/// As long as the identity value, meaning no compression, is not explicitly
7272
/// forbidden, by an identity;q=0 or a *;q=0 without another explicitly set
7373
/// value for identity, the server must never send back a 406 Not Acceptable
7474
/// error.

0 commit comments

Comments
 (0)