From ee1f407da91cdfeab13d3047b2ae7d2e472e5ae3 Mon Sep 17 00:00:00 2001 From: Ian Bicking Date: Thu, 30 Jun 2005 20:55:38 +0000 Subject: Added request.config() method, closing #2 --- paste/webkit/wkrequest.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'paste/webkit/wkrequest.py') 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): -- cgit v1.2.1