Skip to content

Commit 517dd78

Browse files
committed
Apply suggestion from @Kriechi
1 parent 273971b commit 517dd78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hpack/hpack.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ def add(self, to_add: tuple[bytes, bytes], sensitive: bool, huffman: bool = Fals
285285
"""
286286
Serializes a header key-value tuple.
287287
288-
When sensitive is True, the header will not be added to the header table,
288+
When sensitive is True, the header will not be added to the header table
289+
(see https://www.rfc-editor.org/rfc/rfc7541.html#section-7.1.3 for details),
289290
furthermore, the header value will be redacted in debug logs, as "SENSITIVE_REDACTED",
290291
to prevent accidental exposure of sensitive information.
291292
"""

0 commit comments

Comments
 (0)