[ https://issues.apache.org/jira/browse/GROOVY-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549816#comment-14549816 ]
ASF GitHub Bot commented on GROOVY-7425: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/incubator-groovy/pull/16 > 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)