Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7425

Add 'getBytes(Map parameters)' method to the URL class

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.4
    • Component/s: groovy-jdk
    • Labels:
      None

      Description

      The URL class has a getText(Map parameters) 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                fairfield Michael Fairfield
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: