flipt-io / flipt-client-sdks

Flipt Client-Side Evaluation SDKs

Home Page:https://www.flipt.io/docs/integration/client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check engine http response status

markphelps opened this issue · comments

We arent currently checking the response status of the call to get evaluation data:

It seems the reqwest lib we are using does not return errors for most non 2xx responses by default: https://stackoverflow.com/questions/73999866/rust-response-error-handling-using-reqwest#comment130659291_73999866

We may need to switch to error_for_status and handle appropriately