atlassian-api / atlassian-python-api

Atlassian Python REST API wrapper
https://atlassian-python-api.readthedocs.io
Apache License 2.0
1.29k stars 643 forks source link

Add Content-Type to calls to Assets in cloud #1255

Closed tester22 closed 9 months ago

tester22 commented 9 months ago

I experienced 415 error messages due to missing headers when making put and post calls to Assets in cloud.

codecov-commenter commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c17bcb1) 34.45% compared to head (a1c2723) 34.45%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1255 +/- ## ======================================= Coverage 34.45% 34.45% ======================================= Files 44 44 Lines 8108 8108 Branches 1119 1119 ======================================= Hits 2794 2794 Misses 5200 5200 Partials 114 114 ``` | [Files](https://app.codecov.io/gh/atlassian-api/atlassian-python-api/pull/1255?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [atlassian/insight.py](https://app.codecov.io/gh/atlassian-api/atlassian-python-api/pull/1255?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-YXRsYXNzaWFuL2luc2lnaHQucHk=) | `26.11% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

gonchik commented 9 months ago

@tester22 Thanks!