Skip to content

Commit 80704a0

Browse files
committed
chore(codegen): generate corresponding clients
1 parent b562deb commit 80704a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

private/aws-restjson-server/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ export const deserializeEmptyInputAndEmptyOutputRequest = async (
838838
);
839839
if (contentTypeHeaderKey != null) {
840840
const contentType = output.headers[contentTypeHeaderKey];
841-
if (contentType !== undefined && contentType !== "application/json") {
841+
if (contentType !== undefined) {
842842
throw new __UnsupportedMediaTypeException();
843843
}
844844
}
@@ -1182,7 +1182,7 @@ export const deserializeHttpPrefixHeadersInResponseRequest = async (
11821182
);
11831183
if (contentTypeHeaderKey != null) {
11841184
const contentType = output.headers[contentTypeHeaderKey];
1185-
if (contentType !== undefined && contentType !== "application/json") {
1185+
if (contentType !== undefined) {
11861186
throw new __UnsupportedMediaTypeException();
11871187
}
11881188
}
@@ -3486,7 +3486,7 @@ export const deserializeResponseCodeHttpFallbackRequest = async (
34863486
);
34873487
if (contentTypeHeaderKey != null) {
34883488
const contentType = output.headers[contentTypeHeaderKey];
3489-
if (contentType !== undefined && contentType !== "application/json") {
3489+
if (contentType !== undefined) {
34903490
throw new __UnsupportedMediaTypeException();
34913491
}
34923492
}

0 commit comments

Comments
 (0)