krono / squeaksource3

Seaside-based Monticello code repository for Squeak, Pharo and GemStone
0 stars 0 forks source link

Head request support #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Monticello does a fairly big amount of #includesFileNamed: requests which
- do a complete filelist request

as an improvement one can do a GET request for the given fail and check the 
response status.
However a HEAD request would be sufficient and much faster:

[ ZnEasy get: 
'http://mc.stfx.eu/ZincHTTPComponents/Zinc-HTTP-SvenVanCaekenberghe.261.mcz' ] 
timeToRun. 454
[ ZnEasy head: 
'http://mc.stfx.eu/ZincHTTPComponents/Zinc-HTTP-SvenVanCaekenberghe.261.mcz' ] 
timeToRun. 92

would it be possible to add this support for gemstone?

Original issue reported on code.google.com by camillob...@gmail.com on 23 Apr 2012 at 6:32

GoogleCodeExporter commented 9 years ago
Implementing this is up Tobias' alley...

Original comment by henrichs...@gmail.com on 23 Apr 2012 at 6:46

GoogleCodeExporter commented 9 years ago
ACK.

Hope the underlying adaptors support HEAD…

Original comment by tobiasp...@gmail.com on 26 Apr 2012 at 7:47