Created a new library libconnection.
This library aims to handle all the possibles way to do a GET to an http server. So, it must contains all the code related to HTTP calls to avoid to polute the NetworkcacheClient class with this kind of code. The NetworkcacheClient should use this library to download any kind of file which is necessary. Using this library NetworkcacheClient must be able to: - download a file under HTTP without authentication - download a file under HTTP with basic authentication - download a file under HTTPS CA (Certificate Authority) - download a file under HTTPS CA with basic authentication - download a file under HTTPS with Certification Authentication So currently, this library only provides a way to: - download a file under HTTPS CA (Certificate Authority) - download a file under HTTPS CA with basic authentication (work in progress)
Showing
slapos/libconnection.py
0 → 100644
Please register or sign in to comment