Co-Authored-By: minrk <benjaminrk@gmail.com>
This commit is contained in:
Carol Willing
2019-03-07 10:26:53 +01:00
committed by GitHub
parent aa60d948bb
commit 49b9a9f017

View File

@@ -620,6 +620,7 @@ def _parse_accept_header(accept):
# and re-write media_type to something like application/json so
# it can be used usefully when looking up emitters
media_type = '{}/{}'.format(typ, extra)
q = 1.0
for part in parts:
(key, value) = part.lstrip().split("=", 1)