We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31c2818 commit cf555feCopy full SHA for cf555fe
1 file changed
packages/smithy-http/src/smithy_http/aio/interfaces/__init__.py
@@ -64,7 +64,14 @@ def consume_body(self) -> bytes:
64
65
66
class HTTPClient(ClientTransport[HTTPRequest, HTTPResponse], Protocol):
67
- """An asynchronous HTTP client interface."""
+ """An asynchronous HTTP client interface.
68
+
69
+ Header field names and values are not validated before reaching this
70
+ layer. Implementations of ``HTTPClient`` are responsible for
71
+ validating and handling those invalid and dangerous characters (such
72
+ as CR, LF, or NUL) as defined in `RFC 9110, Section 5.5
73
+ <https://www.rfc-editor.org/rfc/rfc9110#section-5.5>`_.
74
+ """
75
76
def __init__(self, *, client_config: HTTPClientConfiguration | None) -> None:
77
"""
0 commit comments