summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorBerno Langer <bl@immosolve.de>2021-12-20 11:46:36 +0100
committerBerno Langer <bl@immosolve.de>2021-12-20 11:46:36 +0100
commit0f3985c356e11fb5c73383bea5f94ff9dce1a71b (patch)
tree179081413e064b5037d5457d6c642af5dd631acf /manual
parent43214e4332867aa62a73df2703d6307dc966c902 (diff)
downloadant-0f3985c356e11fb5c73383bea5f94ff9dce1a71b.tar.gz
Allow ant:get task to disable authentication on redirect.
When the server answers with a redirect response, the request to the new location may or may not need a second authentication. To disable the authentication, the new attribute "authenticateOnRedirect" can be set to "false".
Diffstat (limited to 'manual')
-rw-r--r--manual/Tasks/get.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/manual/Tasks/get.html b/manual/Tasks/get.html
index 28a68268e..b4c4e579b 100644
--- a/manual/Tasks/get.html
+++ b/manual/Tasks/get.html
@@ -92,6 +92,12 @@ the request is relayed to the proxy.</p>
<td>Yes if <var>username</var> is set</td>
</tr>
<tr>
+ <td>authenticateOnRedirect</td>
+ <td>Whether the credentials should also be sent to the new location when a redirect is followed.<br/>
+ <em>since Ant 1.10.13</em></td>
+ <td>No; default is <q>true</q></td>
+ </tr>
+ <tr>
<td>maxtime</td>
<td>Maximum time in seconds a single download may take, otherwise it will be interrupted and
treated like a download error. <em>Since Ant 1.8.0</em></td>