mirror of https://github.com/smithy-lang/smithy-rs
4beac5f19d
Fixes: #3471 ## Motivation and Context An issue was raised about a mobile client that appends "; charset=utf-8" to the Content-Type when using restJson1. The [latest RFC](https://www.rfc-editor.org/rfc/rfc8259) for "application/json" does not register a charset parameter, but indicates it is reasonable to accept it. ## Description This change loosens the validation of the expected content type to allow all parameters. ## Testing * Tests for each protocol were added to [smithy](https://github.com/smithy-lang/smithy/pull/2296) * ran the runtime and codegen tests * Added test for rest-xml, as smithy-rs does not currently run the smithy tests. ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ |
||
---|---|---|
.. | ||
aws-smithy-async | ||
aws-smithy-checksums | ||
aws-smithy-client | ||
aws-smithy-compression | ||
aws-smithy-eventstream | ||
aws-smithy-experimental | ||
aws-smithy-http | ||
aws-smithy-http-auth | ||
aws-smithy-http-server | ||
aws-smithy-http-server-python | ||
aws-smithy-http-server-typescript | ||
aws-smithy-http-tower | ||
aws-smithy-json | ||
aws-smithy-mocks-experimental | ||
aws-smithy-protocol-test | ||
aws-smithy-query | ||
aws-smithy-runtime | ||
aws-smithy-runtime-api | ||
aws-smithy-types | ||
aws-smithy-types-convert | ||
aws-smithy-wasm | ||
aws-smithy-xml | ||
inlineable | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
build.gradle.kts | ||
clippy.toml |