ceylon-herd icon indicating copy to clipboard operation
ceylon-herd copied to clipboard

Add X-SHA1 header

Open tombentley opened this issue 8 years ago • 3 comments

When serving artifacts if the Herd added at X-SHA1 HTTP response header it would save the CMR from having to make further request for the .sha1 file.

tombentley avatar Mar 10 '16 17:03 tombentley

VERY good point!

FroMage avatar Mar 10 '16 17:03 FroMage

Nice idea!

quintesse avatar Mar 10 '16 18:03 quintesse

A similar optimization would be a X-ExternalDescriptor: module.properties (or X-ExternalDescriptor: module.xml or X-ExternalDescriptor: none) header when the requested resource (currently always a .jar) had a related external module descriptor. Right now it looks like CMR has to make separate requests to find out if such an descriptor exists.

tombentley avatar Mar 10 '16 18:03 tombentley