mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
@@ -298,7 +298,7 @@ def uri(module, url, dest, user, password, body, method, headers, redirects, soc
|
||||
r.update(resp_redir)
|
||||
r.update(resp)
|
||||
try:
|
||||
return r, unicode(content).encode('utf8'), dest
|
||||
return r, unicode(content.decode('unicode_escape')), dest
|
||||
except:
|
||||
return r, content, dest
|
||||
except httplib2.RedirectMissingLocation:
|
||||
|
||||
Reference in New Issue
Block a user