diff --git a/lib/request/connect.py b/lib/request/connect.py index 09371bc89..0cb51cf5f 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -82,7 +82,7 @@ class Connect: conn = multipartOpener.open(url, multipart) page = conn.read() return page - elif conf.method == "GET": + elif conf.method in ( "GET", "POST" ): if conf.parameters.has_key("GET") and not get: get = conf.parameters["GET"]