summaryrefslogtreecommitdiff
path: root/wsgitools/applications.py
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools/applications.py')
-rw-r--r--wsgitools/applications.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/wsgitools/applications.py b/wsgitools/applications.py
index 909500e..33823bd 100644
--- a/wsgitools/applications.py
+++ b/wsgitools/applications.py
@@ -14,7 +14,7 @@ class StaticContent:
@type status: str
@param status: is the HTTP status returned to the browser (ex: "200 OK")
@type headers: list
- @param headers: is a list of (header, value) pairs being delivered as
+ @param headers: is a list of C{(header, value)} pairs being delivered as
HTTP headers
@type content: basestring
@param content: contains the data to be delivered to the client. It is
@@ -62,13 +62,13 @@ class StaticFile:
@type status: str
@param status: is the HTTP status returned to the browser
@type headers: [(str, str)]
- @param headers: is a list of (header, value) pairs being delivered as
+ @param headers: is a list of C{(header, value)} pairs being delivered as
HTTP headers
@type filelike: str or file-like
@param filelike: may either be an path in the local file system or a
- file-like that must support read(size) and seek(0). If tell()
- is present, seek(0, 2) and tell() will be used to compute the
- content-length.
+ file-like that must support C{read(size)} and C{seek(0)}. If
+ C{tell()} is present, C{seek(0, 2)} and C{tell()} will be used
+ to compute the content-length.
@type blocksize: int
@param blocksize: the content is provided in chunks of this size
"""