On Fri, Jul 31, 2009 at 06:25:31PM -0500, Shawn Walker wrote: > I can only think of two transport bits I'll need: > > * the ability to perform conditional GETs (if-modified-since) from a > repository via '/catalog/1/' passing along any client headers that we > would for '/file/'.
There are two ways to do this: attach the If-Modified-Since header ourselves, or use libcurl to do so. In the first case you could either supply it as a header, or we could configure it as an argument. In the second case, you'd need to give the value to curl as a long that represents the UTC seconds since 1970 of the last modified time. > * the ability to perform pipelined GETs from /catalog/1/ to retrieve the > catalog parts and updatelog files. Ok, I can do this. You probably also want the ability to determine which origins for a publisher support catalog/1. In the case where catalog/1 to the optimal host fails, we'd probably want to pick another catalog/1 host before falling back to those that support catalog/0. -j _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
