summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-04-28 10:55:53 +0300
committerVille Skyttä <ville.skytta@iki.fi>2016-04-28 10:55:53 +0300
commit511d6dc3429ccf160fc5042bf357e7943892d34e (patch)
tree23d00196b7c34d6119734631514e6dc577d6f93e
parentcc66740c6e46b85ac55e989fd4883d5697e15c35 (diff)
downloadpython-mimeparse-511d6dc3429ccf160fc5042bf357e7943892d34e.tar.gz
Update RFC links to point to RFC 7231
-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 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.