summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
-rw-r--r--mimeparse.py7
2 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index a74906d..5a58486 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,11 @@
# Travis CI Build Status [![Build Status](https://travis-ci.org/dbtsai/python-mimeparse.svg?branch=master)](https://travis-ci.org/dbtsai/python-mimeparse)
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.
diff --git a/mimeparse.py b/mimeparse.py
index d16713f..2884b1d 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.