marius on Nostr: nprofile1q…3s5e3 if I understand correctly what you want to do, I think the ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqmcptsh7w87wfwx94kd65xpkr470m84smz3hwujxkcmfvgqnc2nusq3s5e3 (nprofile…s5e3) if I understand correctly what you want to do, I think the idiomatic solution would be to write your own http.RoundTripper implementation which does only what you need, and delegates to the previous Transport for the common http parts.
I have an example up if you're interested in my implementation of a caching aware http transport:
https://git.sr.ht/~mariusor/cache/tree/master/item/transport.go#L226
I have an example up if you're interested in my implementation of a caching aware http transport:
https://git.sr.ht/~mariusor/cache/tree/master/item/transport.go#L226