Skip to content

Commit 2138541

Browse files
committed
Merge pull request #17 from scop/rfclinks
Update RFC links to point to RFC 7231
2 parents cc66740 + 511d6dc commit 2138541

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Travis CI Build Status [![Build Status](https://travis-ci.org/dbtsai/python-mimeparse.svg?branch=master)](https://travis-ci.org/dbtsai/python-mimeparse)
22

33
This module provides basic functions for handling mime-types. It can handle
4-
matching mime-types against a list of media-ranges. See section 14.1 of
5-
the HTTP specification [RFC 2616] for a complete explanation.
4+
matching mime-types against a list of media-ranges. See section 5.3.2 of
5+
the HTTP 1.1 Semantics and Content specification [RFC 7231] for a complete
6+
explanation.
67

7-
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
8+
https://tools.ietf.org/html/rfc7231#section-5.3.2
89

910
Contents:
1011
- parse_mime_type(): Parses a mime-type into its component parts.

mimeparse.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"""MIME-Type Parser
22
33
This module provides basic functions for handling mime-types. It can handle
4-
matching mime-types against a list of media-ranges. See section 14.1 of the
5-
HTTP specification [RFC 2616] for a complete explanation.
4+
matching mime-types against a list of media-ranges. See section 5.3.2 of the
5+
HTTP 1.1 Semantics and Content specification [RFC 7231] for a complete
6+
explanation.
67
7-
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
8+
https://tools.ietf.org/html/rfc7231#section-5.3.2
89
910
Contents:
1011
- parse_mime_type(): Parses a mime-type into its component parts.

0 commit comments

Comments
 (0)