[GRADLE-2675] Add option to eagerly send HTTP authentication headers Created: 11/Feb/13  Updated: 06/Jun/16  Resolved: 10/Dec/15

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.7-rc-1

Type: New Feature
Reporter: Daniel Beck Assignee: Unassigned
Resolution: Fixed Votes: 0

Issue Links:
Duplicated by GRADLE-2968 Gradle 1.9 cannot access artifactory ... Resolved


Gradle does not send HTTP authentication headers to repositories unless challenged by HTTP 401, even if credentials have been defined.

Please add an option to eagerly send credentials to repositories that don't send HTTP 401, similar to the wget option --auth-no-challenge.

This would also be useful for repositories that allow both authenticated and unauthenticated access, but restrict access to resources marked public in the latter case.

Comment by Daniel Beck [ 11/Feb/13 ]

Related issue in the Artifactory Jira: https://issues.jfrog.org/jira/browse/RTFACT-5469

Generated at Wed Jun 30 12:28:23 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.