Closed GeckoEidechse closed 2 years ago
seems fine to me
For now, we only need to access status/headers when request fails, this PR answer the need. LGTM
provided it has been tested in some capacity
I guess you found the issue :3
provided it has been tested in some capacity
I guess you found the issue :3
Testing MS PRs :|
Bob said looks fine, time to test in prod :trollface:
When performing an HTTP request, this returns the status code and headers of the response to help with figuring out why the request failed.
Mainly needed for #84 to check the response of the API in case of failure to check for ratelimit info etc.
Usage example
Gives on error
Currently existing functions do not try to reference this object so should not break existing calls to
asyncHttp.request()
in case of HTTP error.