Arcadius Ahouansou
2017-01-20 03:36:40 UTC
Hello.
I am using the and get task for downloading files from a remote server.
The server requires tokens custom headers for authentication/authorization
i.e.
I was wondering whether it's a good idea to add that to the current get
task.
I got the source code from github and did some changes in
https://github.com/apache/ant/blob/master/src/main/org/apache/tools/ant/taskdefs/Get.java
Now, wanted to have sometyhing like this
<headers>
<header name="aaaa" value="bbb"/>
<header name="aaaa" value="bbb"/>
</headers>
--
Arcadius Ahouansou
Menelic Ltd | Applied Knowledge Is Power
Office : +441444702101
Mobile: +447908761999
Web: www.menelic.com
---
I am using the and get task for downloading files from a remote server.
The server requires tokens custom headers for authentication/authorization
i.e.
I was wondering whether it's a good idea to add that to the current get
task.
I got the source code from github and did some changes in
https://github.com/apache/ant/blob/master/src/main/org/apache/tools/ant/taskdefs/Get.java
Now, wanted to have sometyhing like this
<headers>
<header name="aaaa" value="bbb"/>
<header name="aaaa" value="bbb"/>
</headers>
--
Arcadius Ahouansou
Menelic Ltd | Applied Knowledge Is Power
Office : +441444702101
Mobile: +447908761999
Web: www.menelic.com
---