summaryrefslogtreecommitdiff
path: root/wsgitools/applications.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-10-14 13:48:02 +0200
committerHelmut Grohne <helmut@subdivi.de>2008-10-14 13:48:02 +0200
commit93374eaaace42da6c89663f09fcbbf2afcb3637c (patch)
tree907305447a0447a2bf9aece301d6d3f9e710c1d5 /wsgitools/applications.py
parent7b46d32f7dfb63eb597d6f3ad918766d732af68d (diff)
downloadwsgitools-93374eaaace42da6c89663f09fcbbf2afcb3637c.tar.gz
added epydoc markup to doc strings
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
"""