#1195·resty

Debug log doesn't Print full Headers when use otelhttp.DefaultClient

Author: LinPrCreated Aug 4, 2026Updated Aug 4, 2026

otelhttp Will injet traceparent header before call roundtrip() function, but in resty client debug log the request header is featched before the traceparent injected. So the right way to get full http rrequest header is featch them from resp.Request.Header()

I will create d PR to fix this problem