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 f48aea4 commit 6bb8f79Copy full SHA for 6bb8f79
prometheus_client/asgi.py
@@ -11,7 +11,7 @@ def make_asgi_app(registry: CollectorRegistry = REGISTRY, disable_compression: b
11
async def prometheus_app(scope, receive, send):
12
assert scope.get("type") == "http"
13
# Prepare parameters
14
- params = parse_qs(scope.get('query_string', b''))
+ params = parse_qs(scope.get('query_string', b'').decode("utf8"))
15
accept_header = ",".join([
16
value.decode("utf8") for (name, value) in scope.get('headers')
17
if name.decode("utf8").lower() == 'accept'
0 commit comments