We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ae7dd commit d43e580Copy full SHA for d43e580
codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/RpcV2Cbor.kt
@@ -112,7 +112,7 @@ open class RpcV2Cbor(val codegenContext: CodegenContext) : Protocol {
112
override val defaultTimestampFormat: TimestampFormatTrait.Format = TimestampFormatTrait.Format.EPOCH_SECONDS
113
114
override fun additionalRequestHeaders(operationShape: OperationShape): List<Pair<String, String>> =
115
- listOf("smithy-protocol" to "rpc-v2-cbor")
+ listOf("smithy-protocol" to "rpc-v2-cbor", "accept" to "application/cbor")
116
117
override fun additionalResponseHeaders(operationShape: OperationShape): List<Pair<String, String>> =
118
listOf("smithy-protocol" to "rpc-v2-cbor")
0 commit comments