community.general/lib/ansible/plugins/httpapi
Nathaniel Case a3385a60b4
httpapi: let httpapi plugin handle HTTPErrors other than 401 (#43436)
* Hold httpapi response in BytesIO

* Let httpapi plugin deal with HTTP codes if it wants

* Python 3.5 won't json.loads() bytes

* Don't modify headers passed to send

* Move code handling back to send()

but let httpapi plugin have a say on how it happens
2018-08-13 10:25:06 -04:00
..
__init__.py httpapi: let httpapi plugin handle HTTPErrors other than 401 (#43436) 2018-08-13 10:25:06 -04:00
eos.py httpapi: let httpapi plugin handle HTTPErrors other than 401 (#43436) 2018-08-13 10:25:06 -04:00
nxos.py httpapi: let httpapi plugin handle HTTPErrors other than 401 (#43436) 2018-08-13 10:25:06 -04:00