- 22 Aug, 2011 2 commits
-
-
Łukasz Nowak authored
And use this hash to check if upload was successful or not.
-
Łukasz Nowak authored
In order to create subresource of /path/ it is required to use POST not PUT. References: * http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5 * http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6
-
- 18 Aug, 2011 6 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
PUT to shacache shall be done to shacache path, not shacache path+sha sum. This break backward compatibility during upload, but download is used more often.
-
Łukasz Nowak authored
-
- 17 Aug, 2011 1 commit
-
-
Łukasz Nowak authored
-
- 16 Aug, 2011 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 10 Aug, 2011 7 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
It must be able to return the default port for a given protocol. (i.e. http - 80, https - 443)
-
- 09 Aug, 2011 1 commit
-
-
Łukasz Nowak authored
-
- 03 Aug, 2011 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 01 Aug, 2011 10 commits
-
-
Lucas Carvalho authored
We must be sure that people won't change this code, because we need to care about backward compatibilty.
-
Lucas Carvalho authored
MARKER is not required, it just polutes the code. And should not prevent a bad usage of the library.
-
Łukasz Nowak authored
There is no time yet for such changes in libnetworkcache.
-
Lucas Carvalho authored
Sorry, it should not be commited in the previous commit.
-
Lucas Carvalho authored
-
Lucas Carvalho authored
In this case, super does not beahvior as expected, so it is better to call the init method directly.
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-
Lucas Carvalho authored
Actually, the NetworkcacheClient must be able to fetch the certificate files under a HTTPS server. So, these classes and methods are going to be used to setup the environment to test this feature.
-
Lucas Carvalho authored
Once the tests are growing up, I decided to organize it in a clean way. test_libnetworkcache - tests to NetworkcacheClient class test_signature - tests to signature script libnetworkcachemixin - an util module with all the code which is required to setup the test environment NOTE: THERE IS NO CODE CHANGE.
-
- 29 Jul, 2011 5 commits
-
-
Lucas Carvalho authored
This test must prove that when the signature_certificate_file_list has a path to the file system and urls, the file system path has high priority over the urls.
-
Lucas Carvalho authored
To download contents in a correct way, it must use the libnetworkcache.
-
Lucas Carvalho authored
This file must provide all the utils function, to avoid duplicating code.
-
Lucas Carvalho authored
This file must provide all the utils function, to avoid duplicating code.
-
Lucas Carvalho authored
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)
-
- 27 Jul, 2011 1 commit
-
-
Łukasz Nowak authored
-
- 22 Jul, 2011 2 commits
-
-
Lucas Carvalho authored
-
Lucas Carvalho authored
-