Skip to content

Commit

Permalink
Fix typo in event stream content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich authored and MYoung25 committed Nov 29, 2024
1 parent fe4b725 commit a0200f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ the model and might rely on protocol-specific information.
HttpBindingIndex index = HttpBindingIndex.of(model);
String defaultPayloadType = "application/json";
String eventStreamType = "application/vnd.amazon.event-stream");
String eventStreamType = "application/vnd.amazon.eventstream");
String contentType = index
.determineRequestContentType(operation, defaultPayloadType, eventStreamType)
.orElseNull();
Expand All @@ -302,7 +302,7 @@ the model and might rely on protocol-specific information.
HttpBindingIndex index = HttpBindingIndex.of(model);
String defaultPayloadType = "application/json";
String eventStreamType = "application/vnd.amazon.event-stream");
String eventStreamType = "application/vnd.amazon.eventstream");
String contentType = index
.determineResponseContentType(operation, defaultPayloadType, eventStreamType)
.orElseNull();
Expand Down

0 comments on commit a0200f8

Please sign in to comment.