Skip to content

Added function registries for encoding, responses, and error handling.#19

Open
shanewholloway wants to merge 5 commits intotypicode:masterfrom
shanewholloway:feature-response-handler-registry
Open

Added function registries for encoding, responses, and error handling.#19
shanewholloway wants to merge 5 commits intotypicode:masterfrom
shanewholloway:feature-response-handler-registry

Conversation

@shanewholloway
Copy link

This is a composite set of patches to allow simple adaptation of the fetchival abstraction, allowing for non-json data types like FormData, ArrayBuffer, Blob, etc. I also added an extensibility for response type handling, as well as custom error handlers.

This also includes a bug fix for modifying opts parameter and the shared opts.headers sub-object.

This PR encompasses PR #8 and PR #10, as well as issues #9 and #18

@shanewholloway
Copy link
Author

Based on the project status of open issues and PRs, I've published a fork on npm as fetchival-pluggable for immediate use. Feel free to give it a try, if it suits you.

@mubbashar
Copy link

Thank you
(Y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants