summaryrefslogtreecommitdiffstats
path: root/eteutils/RequestsClientCert.py
diff options
context:
space:
mode:
Diffstat (limited to 'eteutils/RequestsClientCert.py')
-rw-r--r--eteutils/RequestsClientCert.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/eteutils/RequestsClientCert.py b/eteutils/RequestsClientCert.py
new file mode 100644
index 0000000..e1fd66f
--- /dev/null
+++ b/eteutils/RequestsClientCert.py
@@ -0,0 +1,7 @@
+
+class RequestsClientCert:
+ """RequestsClientCert allows adding a client cert to the Requests Robot Library."""
+
+ def add_client_cert(self, session, cert):
+ """Add Client Cert takes in a requests session object and a string path to the cert"""
+ session.cert = cert \ No newline at end of file