TBD54566975 / web5-go

Apache License 2.0
7 stars 6 forks source link

did:web resolve bring-your-own-client #96

Open KendallWeihe opened 4 months ago

KendallWeihe commented 4 months ago

Our did:dht implementation enables consumers to bring-their-own-clients

But our did:web resolver just uses the native http.Get() call. Not sure exactly what this would look like, or if this even makes sense (also relevant to this ticket https://github.com/TBD54566975/web5-go/issues/94), but if we're enabling developer-defined clients in did:dht then we should do the same in did:web.

KendallWeihe commented 4 months ago

Relevant for configuring timeout settings, as none are set by default https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts#client-timeouts