mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
@@ -620,6 +620,7 @@ def _parse_accept_header(accept):
|
|||||||
# and re-write media_type to something like application/json so
|
# and re-write media_type to something like application/json so
|
||||||
# it can be used usefully when looking up emitters
|
# it can be used usefully when looking up emitters
|
||||||
media_type = '{}/{}'.format(typ, extra)
|
media_type = '{}/{}'.format(typ, extra)
|
||||||
|
|
||||||
q = 1.0
|
q = 1.0
|
||||||
for part in parts:
|
for part in parts:
|
||||||
(key, value) = part.lstrip().split("=", 1)
|
(key, value) = part.lstrip().split("=", 1)
|
||||||
|
Reference in New Issue
Block a user