mirror of https://gitlab.com/bashrc2/epicyon
Default version number for session functions
parent
51d59f3706
commit
4b433644ca
|
@ -213,7 +213,7 @@ def _get_json_signed(session, url: str, domain_full: str, session_headers: {},
|
||||||
|
|
||||||
def get_json(signing_priv_key_pem: str,
|
def get_json(signing_priv_key_pem: str,
|
||||||
session, url: str, headers: {}, params: {}, debug: bool,
|
session, url: str, headers: {}, params: {}, debug: bool,
|
||||||
version: str = '1.3.0', http_prefix: str = 'https',
|
version: str = __version__, http_prefix: str = 'https',
|
||||||
domain: str = 'testdomain',
|
domain: str = 'testdomain',
|
||||||
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
||||||
if not isinstance(url, str):
|
if not isinstance(url, str):
|
||||||
|
@ -251,7 +251,7 @@ def get_json(signing_priv_key_pem: str,
|
||||||
|
|
||||||
def get_vcard(xml_format: bool,
|
def get_vcard(xml_format: bool,
|
||||||
session, url: str, params: {}, debug: bool,
|
session, url: str, params: {}, debug: bool,
|
||||||
version: str = '1.3.0', http_prefix: str = 'https',
|
version: str = __version__, http_prefix: str = 'https',
|
||||||
domain: str = 'testdomain',
|
domain: str = 'testdomain',
|
||||||
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
||||||
if not isinstance(url, str):
|
if not isinstance(url, str):
|
||||||
|
@ -329,7 +329,7 @@ def get_vcard(xml_format: bool,
|
||||||
|
|
||||||
def download_html(signing_priv_key_pem: str,
|
def download_html(signing_priv_key_pem: str,
|
||||||
session, url: str, headers: {}, params: {}, debug: bool,
|
session, url: str, headers: {}, params: {}, debug: bool,
|
||||||
version: str = '1.3.0', http_prefix: str = 'https',
|
version: str = __version__, http_prefix: str = 'https',
|
||||||
domain: str = 'testdomain',
|
domain: str = 'testdomain',
|
||||||
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
||||||
if not isinstance(url, str):
|
if not isinstance(url, str):
|
||||||
|
@ -674,7 +674,7 @@ def download_image_any_mime_type(session, url: str,
|
||||||
|
|
||||||
def get_method(method_name: str, xml_str: str,
|
def get_method(method_name: str, xml_str: str,
|
||||||
session, url: str, params: {}, headers: {}, debug: bool,
|
session, url: str, params: {}, headers: {}, debug: bool,
|
||||||
version: str = '1.3.0', http_prefix: str = 'https',
|
version: str = __version__, http_prefix: str = 'https',
|
||||||
domain: str = 'testdomain',
|
domain: str = 'testdomain',
|
||||||
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
timeout_sec: int = 20, quiet: bool = False) -> {}:
|
||||||
if method_name not in ("REPORT", "PUT", "PROPFIND"):
|
if method_name not in ("REPORT", "PUT", "PROPFIND"):
|
||||||
|
|
Loading…
Reference in New Issue