- 22 Aug, 2011 9 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Required parameters are: * file: the name of the file * urlmd5: mdsum of orginal url * sha512: the hash (sha512) of the file content Optional ones: * valid-until: the date which the file must be expired * architecture: computer architecture
-
Łukasz Nowak authored
-
Ł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 1 commit
-
-
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.
-