https://issues.apache.org/bugzilla/show_bug.cgi?id=55489

--- Comment #4 from AndrĂ©-John Mas <[email protected]> ---
Created attachment 30771
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30771&action=edit
Proposed patch

I have created a patch with an amended unit test for the Get task.

The code:
 - Defaults to user agent "Apache Ant/x.y", where x.y is the Ant version
 - Allows specifying of the user-agent from an Ant project
 - Validates specified userAgent is not empty

One limitation that I am looking to see resolved is validation of valid
characters for the user-agent. At the moment I am wondering to what extent we
should be testing for them?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to