From aa60d948bbe2c641b2dfdf041c59fefb995e8a1d Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Thu, 7 Mar 2019 10:26:19 +0100 Subject: [PATCH] docstring formatting Co-Authored-By: minrk --- jupyterhub/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jupyterhub/utils.py b/jupyterhub/utils.py index d80c47fa..85912071 100644 --- a/jupyterhub/utils.py +++ b/jupyterhub/utils.py @@ -579,7 +579,9 @@ def utcnow(): def _parse_accept_header(accept): """ - Parse the Accept header *accept*, returning a list with 3-tuples of + Parse the Accept header *accept* + + Return a list with 3-tuples of [(str(media_type), dict(params), float(q_value)),] ordered by q values. If the accept header includes vendor-specific types like:: application/vnd.yourcompany.yourproduct-v1.1+json