We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d8a9b9 commit c7c4861Copy full SHA for c7c4861
util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py
@@ -219,7 +219,7 @@ def sanitize_method(method: Optional[str]) -> Optional[str]:
219
220
def get_custom_headers(env_var: str) -> list[str]:
221
custom_headers = environ.get(env_var, None)
222
- if custom_headers:
+ if custom_headers is not None:
223
return [
224
custom_headers.strip()
225
for custom_headers in custom_headers.split(",")
0 commit comments