feat: improvement to allow the use of differents content types#575
feat: improvement to allow the use of differents content types#575camilamaia merged 3 commits intomainfrom
Conversation
|
@uesleicarvalhoo your pull request is missing a changelog! |
f27b2a0 to
01e517c
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #575 +/- ##
==========================================
+ Coverage 97.85% 97.86% +0.01%
==========================================
Files 24 24
Lines 745 751 +6
==========================================
+ Hits 729 735 +6
Misses 16 16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
01e517c to
1988ebf
Compare
64920aa to
51aa84c
Compare
| allow_redirects=False, | ||
| ) | ||
|
|
||
| test_content_types = [ |
| ) | ||
|
|
||
| @staticmethod | ||
| def _content_type_is_json(headers): |
Crocmagnon
left a comment
There was a problem hiding this comment.
Still a couple of conversations open
camilamaia
left a comment
There was a problem hiding this comment.
Nice, this is a really cool feature! Thanks for implementing it @uesleicarvalhoo!
It is up to you to implement the suggested tests, but either way, at least for me, it is already good to go 🚀
Co-authored-by: Camila Maia <cmaiacd@gmail.com>
Co-authored-by: Gabriel Augendre <gabriel@augendre.info>
b786c37 to
bf2cadc
Compare
Description
Change request to use
dataparameter instead ofjsonand setapplication/jsonas defaultContent-TypeMotivation behind this PR?
This issue #521
What type of change is this?
Feature
Checklist
Issue
Closes #521