Smithy is a protocol-agnostic interface definition language and set of tools for generating clients, servers, and documentation for any programming language.
The suite already contains a test with ID
RestJsonWithBodyExpectsApplicationJsonContentType for when Content-Type: aplication/json is expected by the server but the client sends a wrong value
for the header. However, there is no test testing the case where the client
sends no headers. This commit adds such a test.
Testing
Ran the test in smithy-rs server.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
The suite already contains a test with ID
RestJsonWithBodyExpectsApplicationJsonContentType
for whenContent-Type: aplication/json
is expected by the server but the client sends a wrong value for the header. However, there is no test testing the case where the client sends no headers. This commit adds such a test.Testing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.