The docs do not discriminate between the getHttpClient functions decorated to the fastify instance and request instance, but there is a difference indeed.
Using the above function decorated to the fastify instance, the obtained client will not forward Mia headers; while using the same function decorated to the request instance, the obtained client will actually forward those headers.
I would expect that the client obtained from the fastify instance is still able to forward mia headers or at least point this difference in the docs.
The docs do not discriminate between the
getHttpClient
functions decorated to the fastify instance and request instance, but there is a difference indeed.Using the above function decorated to the fastify instance, the obtained client will not forward Mia headers; while using the same function decorated to the request instance, the obtained client will actually forward those headers.
I would expect that the client obtained from the fastify instance is still able to forward mia headers or at least point this difference in the docs.
environment
custom-plugin-lib: 5.1.3