diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 1bbb9bb1..1a08c119 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -261,6 +261,11 @@ def GetPathPieces(envar='PATH_INFO'): +def GetRequestMethod(): + return os.environ.get('REQUEST_METHOD') + + + def ScriptURL(target, web_page_url=None, absolute=False): """target - scriptname only, nothing extra web_page_url - the list's configvar of the same name |