File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
smithy-aws-protocol-tests/model/awsJson1_0 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ apply QueryCompatibleOperation @httpRequestTests([
3737 documentation : " Clients for query-compatible services MUST send the x-amzn-query-mode header."
3838 protocol : awsJson1_0
3939 method : " POST"
40- headers : { "Content-Type": "application/json", "x-amzn-query-mode": "true", "X-Amz-Target" : " QueryCompatibleJsonRpc10.QueryIncompatibleOperation" }
40+ headers : { "Content-Type": "application/x-amz- json-1.0 ", "x-amzn-query-mode": "true", "X-Amz-Target" : " QueryCompatibleJsonRpc10.QueryIncompatibleOperation" }
4141 uri : " /"
4242 body : " {}"
4343 bodyMediaType : " application/json"
@@ -56,7 +56,7 @@ apply NoCustomCodeError @httpResponseTests([
5656 protocol : awsJson1_0
5757 params : { message : " Hi" }
5858 code : 400
59- headers : { "Content-Type" : " application/json" }
59+ headers : { "Content-Type" : " application/x-amz- json-1.0 " }
6060 body : """
6161 {
6262 "__type": "aws.protocoltests.json10#NoCustomCodeError",
@@ -81,7 +81,7 @@ apply CustomCodeError @httpResponseTests([
8181 protocol : awsJson1_0
8282 params : { message : " Hi" }
8383 code : 400
84- headers : { "Content-Type": "application/json", "x-amzn-query-error" : " Customized;Sender" }
84+ headers : { "Content-Type": "application/x-amz- json-1.0 ", "x-amzn-query-error" : " Customized;Sender" }
8585 body : """
8686 {
8787 "__type": "aws.protocoltests.json10#CustomCodeError",
You can’t perform that action at this time.
0 commit comments