Michael Fairfield created GROOVY-7425:
-----------------------------------------

             Summary: Add 'getBytes(Map parameters)' method to the URL class
                 Key: GROOVY-7425
                 URL: https://issues.apache.org/jira/browse/GROOVY-7425
             Project: Groovy
          Issue Type: Improvement
          Components: groovy-jdk
            Reporter: Michael Fairfield
            Assignee: Guillaume Laforge


The URL class has a {{[getText(Map 
parameters)|http://docs.groovy-lang.org/latest/html/groovy-jdk/java/net/URL.html#getText(java.util.Map)]}}
 method but no {{getBytes(Map parameters)}}.

So currently we can't set the user agent and other parameters when downloading 
files with the {{getBytes}} method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to