HttpResourceListerTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add ability to revalidate external resource requests

The argument allows Cache-Control: max-age=0 to be added in cases where it's desirable for artifact repositories or caching proxies to revalidate requests:

- Listing version metadata

- Resource has exceeded it's cache lifetime on disk, such as dynamic/snapshot dependencies or when --refresh-dependencies is specified

  1. … 24 more files in changeset.
Changed ExternalResourceAccessor to return an ExternalResourceReadResponse instead of ExternalResource.

  1. … 16 more files in changeset.
Added ExternalResourceMetaData.contentType and use this to do content listing of HTTP resources instead of bolting directly on to the HTTP response.

  1. … 11 more files in changeset.
Rationalise the “resource” classes under the “org.gradle.internal.resource” package.

    • -0
    • +45
    ./HttpResourceListerTest.groovy
  1. … 273 more files in changeset.