-
Notifications
You must be signed in to change notification settings - Fork 675
Open
Labels
Description
Version
5.0.0
Feature
Hi. Currently, HttpExceptions thrown by QueryExecHTTP do not provide access to response headers. This prevents specific handling, like the consideration of Retry-After. I suggest to
- extend
HttpExceptionwith a methodgetResponseHeaders()and an according constructor, - extend
QueryExceptionHTTPwith a methodgetResponseHeaders()and an according constructor, - provide the responses
HttpHeadersinstance duringHttpExceptionconstruction inHttpLib#handleHttpStatusCodeorHttpLib#exception, and - provide the responses
HttpHeadersinstance duringQueryExceptionHTTPconstruction inQueryExceptionHTTP#rewrap.
Are you interested in contributing a solution yourself?
Perhaps?