Skip to content

Add docstring for HTTPClient header validation contract#706

Open
Alan4506 wants to merge 1 commit into
smithy-lang:developfrom
Alan4506:http-client-note-clean
Open

Add docstring for HTTPClient header validation contract#706
Alan4506 wants to merge 1 commit into
smithy-lang:developfrom
Alan4506:http-client-note-clean

Conversation

@Alan4506
Copy link
Copy Markdown
Contributor

Description of changes:
Add docstring for HTTPClient to specify: if a request's header fields contain characters prohibited by the HTTP specifications (e.g. CR, LF), it is implementer's responsibility that they must reject the request. The default clients (AWSCRTHTTPClient, AIOHTTPClient) already satisfy this via their underlying libraries.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Alan4506 Alan4506 requested a review from a team as a code owner May 29, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant