summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2019-06-21 10:41:25 -0600
committerGitHub <noreply@github.com>2019-06-21 10:41:25 -0600
commita5712d73498be29b03d4d15dfcee21c2ed45ce1a (patch)
tree2aaa6699f39c023931151a4888d21c7f5f2213e2
parent0624409b7036c321ce7d012d5bb9f2b098d00dff (diff)
parenta3c19ca9712706bc701a9134e4477eb451998556 (diff)
downloadwebob-a5712d73498be29b03d4d15dfcee21c2ed45ce1a.tar.gz
Merge pull request #402 from whiteroses/fix-MIMEAccept-link-to-RFC
Fix link to RFC and typo.
-rw-r--r--src/webob/acceptparse.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webob/acceptparse.py b/src/webob/acceptparse.py
index 8efd8c2..0ac3a5b 100644
--- a/src/webob/acceptparse.py
+++ b/src/webob/acceptparse.py
@@ -1188,8 +1188,7 @@ class MIMEAccept(Accept):
This shim does use the newer Accept header parsing, which will mean your
application may be less liberal in what Accept headers are correctly
parsed. It is recommended that user agents be updated to send appropriate
- Accept headers that are valid according to rfc:`RFC 7231, section 5.3.2
- <7231#section-5.3.2>`
+ Accept headers that are valid according to :rfc:`7231#section-5.3.2`.
.. deprecated:: 1.8
@@ -1199,7 +1198,7 @@ class MIMEAccept(Accept):
appropriate object.
This shim has an extended deprecation period to allow for application
- developers to switch the to new API.
+ developers to switch to the new API.
"""