diff options
author | Ian Bicking <ian@ianbicking.org> | 2005-06-30 20:55:38 +0000 |
---|---|---|
committer | Ian Bicking <ian@ianbicking.org> | 2005-06-30 20:55:38 +0000 |
commit | ee1f407da91cdfeab13d3047b2ae7d2e472e5ae3 (patch) | |
tree | b202d4079776c9e9dddc82c45675a4de88586743 /paste/webkit/wkrequest.py | |
parent | ac1070800f4ac766f90ab9155b2afb7c1951a289 (diff) | |
download | paste-git-ee1f407da91cdfeab13d3047b2ae7d2e472e5ae3.tar.gz |
Added request.config() method, closing #2
Diffstat (limited to 'paste/webkit/wkrequest.py')
-rw-r--r-- | paste/webkit/wkrequest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/paste/webkit/wkrequest.py b/paste/webkit/wkrequest.py index 63dfcd2..5de66cf 100644 --- a/paste/webkit/wkrequest.py +++ b/paste/webkit/wkrequest.py @@ -335,6 +335,9 @@ class HTTPRequest(object): sid = self.value('_SID_', None) return sid + def config(self): + return self._environ.get('paste.config', {}) + ## Inspection ## def info(self): |