mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
@@ -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)
|
||||
|
Reference in New Issue
Block a user