Skip to content

Commit 8d0d0ac

Browse files
Document header control-character restrictions
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 1d27698 commit 8d0d0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ unsafe traversal segments, backslashes, and whitespace/control characters.
4040

4141
You can also pass custom headers (for tracing/correlation) either via
4242
`ClientConfig` or directly to the client constructor.
43-
Header keys/values must be strings; header names are trimmed and newline characters are rejected.
43+
Header keys/values must be strings; header names are trimmed and control characters are rejected.
4444
Duplicate header names are rejected after normalization (case-insensitive), e.g.
4545
`"X-Trace"` with `" X-Trace "` or `"x-trace"`.
4646

0 commit comments

Comments
 (0)