coderanger / pychef

Python library to interact with the Chef server API
Other
195 stars 129 forks source link

Update api.py to raise for bad HTTP status codes #52

Closed srinathgs closed 8 years ago

srinathgs commented 8 years ago

response.raise_for_status from requests API will raise HTTPErrors in case of unsuccessful requests

response status doc in requests

coderanger commented 8 years ago

Handled via #47