What is the easiest way to have some function called by the
HttpClient
on each outgoing request, which is able to modify the request (e.g. add a header)? It's just going to be used in tests, so it's not a problem if it's a bit of a hack
My intuition is that plugins allow to do that, but I'm not familiar with them