Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect protocol in service description files #129

Open
Nymphium opened this issue Apr 15, 2022 · 0 comments
Open

Respect protocol in service description files #129

Nymphium opened this issue Apr 15, 2022 · 0 comments

Comments

@Nymphium
Copy link
Contributor

Nymphium commented Apr 15, 2022

The sort of a request / response body is based on protocol in a service description file.
For example, the field in DynamoDB description file is "json" and each body of requests / response is JSON, whereas the field in EC2 is "ec2" and each of bodies is XML.
Then, Content-Type header follows the request body (already described #60 (comment)).
Especially the version of x-amz-json is corresponding to jsonVersion field in a service description file.

The current implementation encodes query to URL parameter, doesn't send body, and parses response as XML.
It is not valid in json-protocol services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant