diff options
author | Helmut Grohne <helmut@subdivi.de> | 2008-02-28 14:03:55 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2008-02-28 14:03:55 +0100 |
commit | da7964ce7cbdc0e28c4558caabcf36d384253ed1 (patch) | |
tree | fcf9bc383e46bfd64eacc8ebbd5a6b357f3d6ce0 /wsgitools/applications.py | |
parent | aa85b52862c598afab383e777688feb9648cfbf0 (diff) | |
download | wsgitools-da7964ce7cbdc0e28c4558caabcf36d384253ed1.tar.gz |
refactored docstrings for epydoc
Diffstat (limited to 'wsgitools/applications.py')
-rw-r--r-- | wsgitools/applications.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/wsgitools/applications.py b/wsgitools/applications.py index dcbd78a..2e6703c 100644 --- a/wsgitools/applications.py +++ b/wsgitools/applications.py @@ -2,11 +2,15 @@ class StaticContent: """This wsgi application provides static content on whatever request it receives.""" def __init__(self, status, headers, content): - """status is the HTTP status returned to the browser (ex: "200 OK") - headers is a list of (header, value) pairs being delivered as HTTP - headers - content contains the data to be delivered to the client. It is either a - string or some kind of iterable yielding strings. + """ + @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 + HTTP headers + @type content: basestring + @param content: contains the data to be delivered to the client. It is + either a string or some kind of iterable yielding strings. """ assert isinstance(status, str) assert isinstance(headers, list) |