digest-fetch
digest-fetch copied to clipboard
Add support for timeout in options
Apologies for all the changes below, vs code started formatting everything! I'm trying to add a timeout option to the fetch as I've ran into a weird networking issue calling an api in a completely different region which causes fetch to abort seemingly immediately. Adding this timeout logic sorts it and due to the needs of digest auth I thought I'd add it here too. Let me know what you think.