summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cherrypy/lib/static.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/lib/static.py b/cherrypy/lib/static.py
index fbc2e09d..2e340963 100644
--- a/cherrypy/lib/static.py
+++ b/cherrypy/lib/static.py
@@ -54,7 +54,7 @@ def serve_file(path, content_type=None, disposition=None, name=None,
If disposition is not None, the Content-Disposition header will be set
to "<disposition>; filename=<name>; filename*=utf-8''<name>"
- as described in RFC6266 (https://tools.ietf.org/html/rfc6266#appendix-D).
+ as described in :rfc:`6266#appendix-D`.
If name is None, it will be set to the basename of path.
If disposition is None, no Content-Disposition header will be written.
"""
@@ -129,7 +129,7 @@ def serve_fileobj(fileobj, content_type=None, disposition=None, name=None,
If disposition is not None, the Content-Disposition header will be set
to "<disposition>; filename=<name>; filename*=utf-8''<name>"
- as described in RFC6266 (https://tools.ietf.org/html/rfc6266#appendix-D).
+ as described in :rfc:`6266#appendix-D`.
If name is None, 'filename' will not be set.
If disposition is None, no Content-Disposition header will be written.