We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
multidict
1 parent c4e61fa commit 1975b0aCopy full SHA for 1975b0a
src/instana/propagators/base_propagator.py
@@ -89,6 +89,8 @@ def extract_headers_dict(carrier: CarrierT) -> Optional[Dict]:
89
dc = carrier
90
elif hasattr(carrier, "__dict__"):
91
dc = carrier.__dict__
92
+ if not dc:
93
+ dc = dict(carrier)
94
else:
95
dc = dict(carrier)
96
except Exception:
0 commit comments