Include "observe" and "responseType" on a per request basis #91
Labels
enhancement
Request for a change or improvement of existing functionality
feature request
Proposal for a new feature
Milestone
Hey,
First of all: I really like this library and I use it for all of my projects at work, so thanks for the work you put into it.
My issue is the requestHttpOptions you are able to pass when executing a request. The HttpOptions currently contain these options:
What I'm missing is the observe and responseType option that the HttpClient has:
It would also be nice to set these on a per request basis like the HttpClient allows you to.
The problem is that our API has an endpoint which downloads a file, so for only that one request I would have to set the responseType to 'blob' and the observe to 'response' so I can read the ContentDisposition-header and filename.
Would it be possible to add this?
Thanks!
The text was updated successfully, but these errors were encountered: