From 511d6dc3429ccf160fc5042bf357e7943892d34e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 28 Apr 2016 10:55:53 +0300 Subject: Update RFC links to point to RFC 7231 --- README.md | 7 ++++--- mimeparse.py | 7 ++++--- 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. -- cgit v1.2.1