Skip to content

Commit 00dcd79

Browse files
authored
Merge pull request KscSDK#3 from wcg49802693/master
需求用例的修改
2 parents d7ab44c + 8ab3967 commit 00dcd79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kscore/serialize.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def serialize_to_request(self, parameters, operation_model):
190190
# that's what we hand off the _serialize_* methods.
191191
serialized['headers'].update(
192192
{
193-
'Action': operation_model.name,
194-
'Version': operation_model.metadata['apiVersion'],
193+
'X-Action': operation_model.name,
194+
'X-Version': operation_model.metadata['apiVersion'],
195195
}
196196
)
197197
body_params = {}
@@ -368,8 +368,8 @@ def serialize_to_request(self, parameters, operation_model):
368368
'X-Amz-Target': target,
369369
'Content-Type': 'application/json',
370370
'Accept': 'application/json',
371-
'Action': operation_model.name,
372-
'Version': operation_model.metadata['apiVersion']
371+
'X-Action': operation_model.name,
372+
'X-Version': operation_model.metadata['apiVersion']
373373
}
374374
body = {}
375375
input_shape = operation_model.input_shape

0 commit comments

Comments
 (0)