private Map<String, ParameterObject> createResponseHeaderParameters(
            Context<T> context,
            Shape operationOrError,
            OperationShape operation
    ) {
        List<HttpBinding> bindings = HttpBindingIndex.of(context.getModel())
                .getResponseBindings(operationOrError, HttpBinding.Location.HEADER);
        MessageType type = !operationOrError.hasTrait(ErrorTrait.ID) ? MessageType.RESPONSE : MessageType.ERROR;
        return createHeaderParameters(context, bindings, type, operationOrError, operation);
    }
Gets the media type of an event stream for the protocol.

<p>By default, this method returns the binary AWS event stream
media type, {@code application/vnd.amazon.eventstream}.

@param context Conversion context.
@param info Event stream info to provide the media type for.
@return Returns the media type of the event stream.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/protocols/AbstractRestProtocol.java