embulk / embulk-base-restclient

Base class library for Embulk plugins to access RESTful services
https://www.embulk.org/
Apache License 2.0
6 stars 7 forks source link

Allow accessing response body when deciding retry or not #101

Open tvhung83 opened 7 years ago

tvhung83 commented 7 years ago

Problem description

Current implementation only allow to access either status code of response (HttpResponseException), or the exception itself (not HttpResponseException). There are cases where we need to decide based on response body: