summaryrefslogtreecommitdiff
path: root/paste/webkit/wkrequest.py
diff options
context:
space:
mode:
authorIan Bicking <ian@ianbicking.org>2005-06-30 20:55:38 +0000
committerIan Bicking <ian@ianbicking.org>2005-06-30 20:55:38 +0000
commitee1f407da91cdfeab13d3047b2ae7d2e472e5ae3 (patch)
treeb202d4079776c9e9dddc82c45675a4de88586743 /paste/webkit/wkrequest.py
parentac1070800f4ac766f90ab9155b2afb7c1951a289 (diff)
downloadpaste-git-ee1f407da91cdfeab13d3047b2ae7d2e472e5ae3.tar.gz
Added request.config() method, closing #2
Diffstat (limited to 'paste/webkit/wkrequest.py')
-rw-r--r--paste/webkit/wkrequest.py3
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):