Commit 2a41ff40 authored by 's avatar

Merged xmlrpc via https fix from 2.2 branch

parent 8574fc6f
......@@ -609,7 +609,7 @@ class Server:
# get the url
type, uri = urllib.splittype(uri)
if type != "http":
if type not in ("http", "https"):
raise IOError, "unsupported XML-RPC protocol"
self.__host, self.__handler = urllib.splithost(uri)
if not self.__handler:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment