FusionAuth / fusionauth-client-builder

The FusionAuth client library builder
https://fusionauth.io/
Apache License 2.0
6 stars 24 forks source link

fix: io.EOF no longer a bad error for empty response #22

Closed MCBrandenburg closed 3 years ago

MCBrandenburg commented 3 years ago

In the go library, empty response bodies return the io.EOF. This is graceful error, and could be returned as nil by the package.

robotdan commented 3 years ago

Thanks for your contribution @MCBrandenburg

robotdan commented 3 years ago

Built Go client using this PR. https://github.com/FusionAuth/go-client/commit/8b3edea2f17fcfab1f194f9e4c3f20b361bf973f