-
Notifications
You must be signed in to change notification settings - Fork 13
Feedback
Martin Fagioli edited this page Mar 7, 2016
·
5 revisions
From Bryan Smith - github/bryanrsmith
- References to
windowwill prevent it from being used in a service worker - I opted not to include a hard dependency on a polyfill so that it could also be used in node with a polyfill like isomorphic-fetch
- IE and Edge don't properly set headers when using Blob bodies, and you may want to work around that. https://github.com/aurelia/fetch-client/blob/master/src/http-client.js#L180-L184
From David Graham - github.com/dgraham
- Function builder pattern similar to github.com/mjackson/http-client
From Matthew Andrews - github.com/matthew-andrews
- Suggest to /whatwg/fetch
From Christian Alfoni - github.com/christianalfoni
- Getting more info on the middlewares at the beginning of the README. Give a code example of how you would typically use it. For example how to "hide" the 'response.json()' stuff, how you could add middleware to throw exceptions on typical statusCodes.
- Add middleware to throw exceptions on typical error statusCodes.