mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Redfish: Enhanced GetUpdateStatus to allow for empty responses to accomodate possible usage of 204 No Content (#8004)
* Added handling for 204 No Content in some circumstances Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Correcting gzip usage; open_url does the decompression automatically Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Changelog fragment Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Removed imports no longer used Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Updated data unpacking to dynamically check ansible-core version and response headers to see if gzip decompression is needed Signed-off-by: Mike Raineri <michael.raineri@dell.com> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com>
This commit is contained in:
parent
ffa3d15881
commit
2a8da76907
2 changed files with 19 additions and 9 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- redfish_info - allow for a GET operation invoked by ``GetUpdateStatus`` to allow for an empty response body for cases where a service returns 204 No Content (https://github.com/ansible-collections/community.general/issues/8003).
|
Loading…
Add table
Add a link
Reference in a new issue