catalyst / pdns-cli

Command line client for the PowerDNS HTTPS API
GNU General Public License v3.0
7 stars 5 forks source link

Correctly handle 204 responses #7

Closed catalystfd closed 1 year ago

catalystfd commented 1 year ago

Powerdns will sometimes return a 204 no content on a successful edit of some api endpoints, when this happens instead of blowing up with a failure becuase they didn't return the json, we sub in the json that went out with the call instead