HttpClientHelperTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 90 more files in changeset.
Revert "Improve HttpClientHelper deprication error and strip user credentials in errors"

This reverts commit e493d1960aef76d1def664cfd348bb5c1033886d.

  1. … 1 more file in changeset.
Revert "Improve HttpClientHelper deprication error and strip user credentials in errors"

This reverts commit e493d1960aef76d1def664cfd348bb5c1033886d.

  1. … 1 more file in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 90 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 90 more files in changeset.
Improve HttpClientHelper deprication error and strip user credentials in errors

  1. … 1 more file in changeset.
Use last redirect location for HTTP failures

Instead of including the original HTTP request URI, the bottommost

exception for failed HTTP requests now includes the URI of the last

redirect location, if any.

  1. … 12 more files in changeset.
Fixed failing integration tests due to `null` being returned instead of a proper http response

  1. … 4 more files in changeset.
Merge branch 'max-age' of https://github.com/DanielThomas/gradle into DanielThomas-max-age

  1. … 8 more files in changeset.
Extract common logic for checking correct closing of response

GRADLE-3518

+review REVIEW-6201

  1. … 3 more files in changeset.
Add tests for correct usage of CloseableHttpResponse

GRADLE-3518

+review REVIEW-6201

  1. … 2 more files in changeset.
Close responses from httpclient

Since Apache HttpClient 4.3 `(Closable)HttpResponse`s

need to be closed. Gradle has not been doing that after

the upgrade to HttpClient 4.4. This probably caused some

resource problems.

GRADLE-3518

  1. … 6 more files in changeset.
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.
Add caching of ssl contexts

+review REVIEW-5736

  1. … 9 more files in changeset.
Fix unit tests

+review REVIEW-5736

  1. … 1 more file in changeset.
Fix failing unit tests

+review REVIEW-5736

  1. … 1 more file in changeset.
Update HttpClient to 4.4.1

- This bumps httpclient to 4.4.1 and httpcore to 4.4.4

- Update ':docs' subproject to use same httpclient version to avoid duplicate libraries in IntelliJ

- Incorporated fix for GRADLE-3029 by synchronizing access to 'java.home' system property

- This commit also resolves GRADLE-3250 since SNI support was added in httpclient 4.3.2

+review REVIEW-5736

  1. … 17 more files in changeset.
Revert "Update HttpClient to 4.4.1"

This reverts commit cbafb10057af801054f22f5ebd42853bc9e8817a.

  1. … 17 more files in changeset.
Update HttpClient to 4.4.1

- This bumps httpclient to 4.4.1 and httpcore to 4.4.4

- Update ':docs' subproject to use same httpclient version to avoid duplicate libraries in IntelliJ

- Incorporated fix for GRADLE-3029 by synchronizing access to 'java.home' system property

- This commit also resolves GRADLE-3250 since SNI support was added in httpclient 4.3.2

+review REVIEW-5736

  1. … 17 more files in changeset.
Removed duplicate PasswordCredentials

  1. … 11 more files in changeset.
Introduce a credentials type in resources so PasswordCredentials can be moved back to core.

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

    • -0
    • +62
    ./HttpClientHelperTest.groovy
  1. … 273 more files in changeset.