> On Dec 4, 2015, at 8:01 AM, Dimitris Chloupis <kilon.al...@gmail.com> wrote: > > I am on Yosemite, latest 5 image, lastest VM and using this code > > ZnClient new url: 'https://github.com/kilon/ChronosManager/archive/master.zip > <https://github.com/kilon/ChronosManager/archive/master.zip>'; > setIfModifiedSince: (Date year: 2015 month: 12 day: 1); downloadTo: > FileLocator imageDirectory. > > it downloads the file but does not append the extension ".zip" as it should. > > Unfortunately setIfModifiedSince: does not seem to be supported by Github :(
The API supports conditional requests (If-Modified-Since and If-None-Match), so perhaps you should use the API endpoints: https://developer.github.com/v3/#conditional-requests <https://developer.github.com/v3/#conditional-requests> I am planning to implement caching and conditional requests in my API bindings: https://github.com/Balletie/GitHub <https://github.com/Balletie/GitHub> Skip