Skip to content

Conversation

@calavera
Copy link
Contributor

@calavera calavera commented Feb 1, 2023

Description of changes:

  • Set request content-types for JSON payloads
  • Print the returned status codes in case of errors

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

- Set request content-types for JSON payloads
- Print the returned status codes in case of errors

Signed-off-by: David Calavera <[email protected]>
@calavera calavera force-pushed the request_content_types branch from 9ddfdf0 to ff62b88 Compare February 1, 2023 23:43
@calavera
Copy link
Contributor Author

calavera commented Feb 2, 2023

There is a transitive dependency issue, but it should not be a problem because it's for a windows related crate. More information here: tokio-rs/tokio#5386

@calavera calavera merged commit f56c7dc into main Feb 2, 2023
@calavera calavera deleted the request_content_types branch February 2, 2023 01:39
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

Successfully merging this pull request may close these issues.

2 participants