mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
scaleway: Fix case mismatch causing key lookup failure (#445)
The common http api client class used by the scaleway modules only enables automatic jsonification of the request body if the "Content-Type" header is application/json. The client only included "Content-type" in its default set of headers (notice the case variation). This caused a KeyError on send() if the caller relied on the default content-type value.
This commit is contained in:
parent
c2bf9ea9fb
commit
1a0a185ac3
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- scaleway - Fix bug causing KeyError exception on JSON http requests. (https://github.com/ansible-collections/community.general/pull/444)
|
Loading…
Add table
Add a link
Reference in a new issue