Make request headers customizable in http client
see here for a use case: https://github.com/pletoss/soaplib.client/commit/2968c730eab741665ba8a0749431e950fd368f89
Hi,
We are facing the same need at work. [1]
Do you have plans for this feature? Would you have some implementation ideas? I do not know Spyne's source code and passing values to the HTTP client does not look obvious to me. ;)
[1] Application A generates a "correlation id". We can then tag all logged messages with this id and make more sense of our logs. When application A talks to application B via SOAP, we would like Spyne's SOAP client to propagate this correlation id from application A to application B. One way to do that would be through an HTTP header that the SOAP client could send.