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 a2a165d commit b7f6287Copy full SHA for b7f6287
instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
@@ -451,7 +451,7 @@ def get_host_port_url_tuple(scope):
451
host_value = host_header[0]
452
# Ensure host_value is a string, not bytes
453
if isinstance(host_value, bytes):
454
- host_value = _decode_header_item(host_value)
+ host_value = _decode_header_item(host_value) # use exisiting function
455
456
url_host = host_value
457
0 commit comments