amzn / amazon-pay-sdk-java

Amazon Pay Java SDK
https://pay.amazon.com/documentation
Apache License 2.0
58 stars 51 forks source link

Headers nulled out on POST request #19

Open pennstatephil opened 7 years ago

pennstatephil commented 7 years ago

We're experiencing an issue where requests made through the client have all headers removed, including a trace ID header we use to associate requests in our logs. We see in the code where the headers are being removed. Ideally, we would like to have the client keep all headers by default, or at least be able to specify certain headers (like the trace ID) that the client will keep on requests.

pennstatephil commented 7 years ago

We ended up finding a work-around for the trace ID header issue, so I'd consider this a "nice to have" at this point (but wouldn't be upset if it were closed)