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 6650d07 commit 88cd785Copy full SHA for 88cd785
prometheus_client/exposition.py
@@ -114,8 +114,8 @@ def prometheus_app(environ, start_response):
114
params = parse_qs(environ.get('QUERY_STRING', ''))
115
if environ['PATH_INFO'] == '/favicon.ico':
116
# Serve empty response for browsers
117
- status = '200 OK'
118
- header = ('', '')
+ status = str('200 OK')
+ header = (str(''), str(''))
119
output = b''
120
else:
121
# Bake output
0 commit comments