You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Michael Fairfield (JIRA)" <ji...@apache.org> on 2015/05/13 14:20:59 UTC
[jira] [Created] (GROOVY-7425) Add 'getBytes(Map parameters)'
method to the URL class
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)