def plus_https_post(url, url_body): global plus_conn_https if plus_conn_https == None: plus_conn_https = http.get_conn_https(plus_host_https) status, body, plus_conn_https = http.use_httplib_https(url, 'POST', url_body, plus_conn_https, plus_host_https, plus_headers_https) return status, body
def android_https_post(url, url_body): global android_conn_https if android_conn_https == None: android_conn_https = http.get_conn_https(android_host_https) status, body, android_conn_https = http.use_httplib_https(url, 'POST', url_body, android_conn_https, android_host_https, android_headers_https) return status, body
def plus_https_get(url): global plus_conn_https if plus_conn_https == None: plus_conn_https = http.get_conn_https(plus_host_https) status, body, plus_conn_https = http.use_httplib_https(url, 'GET', '', plus_conn_https, plus_host_https, plus_headers_https) return status, body
def android_https_get(url): global android_conn_https if android_conn_https == None: android_conn_https = http.get_conn_https(android_host_https) status, body, android_conn_https = http.use_httplib_https(url, 'GET', '', android_conn_https, android_host_https, android_headers_https) return status, body