Closed damccorm closed 5 years ago
@wham any update on this? Are you still looking for a contribution?
I see a contribution was accepted, but is there any timeline for when this will be released?
@bryanmacfarlane can we release?
The fix for this has been merged for a month now. Any updates on getting a release?
Sorry, this slipped through the cracks - it has been published.
Environment
Node version: Npm version: 8.11.4 OS and version: Windows 10 typed-rest-client version: 1.0.9
Issue Description
Currently, in RestClient, calls to the public functions all receive a httpm.HttpClientResponse object which contains headers but return a promise of an IRestResponse object which does not contain headers.
Expected behaviour
IRestResponse should contain headers
Actual behaviour
IRestResponse only contains information pulled from the result and the status code.
Steps to reproduce
Try to get headers from restRes