summaryrefslogtreecommitdiff
path: root/mimeparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'mimeparse.py')
-rw-r--r--mimeparse.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/mimeparse.py b/mimeparse.py
index 6c83bcd..f1677f9 100644
--- a/mimeparse.py
+++ b/mimeparse.py
@@ -1,10 +1,11 @@
"""MIME-Type Parser
This module provides basic functions for handling mime-types. It can handle
-matching mime-types against a list of media-ranges. See section 14.1 of the
-HTTP specification [RFC 2616] for a complete explanation.
+matching mime-types against a list of media-ranges. See section 5.3.2 of the
+HTTP 1.1 Semantics and Content specification [RFC 7231] for a complete
+explanation.
- http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
+ https://tools.ietf.org/html/rfc7231#section-5.3.2
Contents:
- parse_mime_type(): Parses a mime-type into its component parts.