Skip to content

DownloadSupport doesn't support proxy out of the box #371

@geb-bot

Description

@geb-bot

Originally created by Vasily Ivanov.

Currently DownloadSupport.download() opens connection with URL.openConnection() call which doesn't work behind HTTP (or other type) proxy. This is inconsistent with web driver behaviour which uses system proxy settings.

Optional support of proxy needs to be added in which case URL.openConnection(Proxy proxy) method should be used to open a connection via specified proxy.

WORKAROUND:
Set global system properties either via -D command line options or:
System.setProperty("https.proxyHost", "host")
System.setProperty("https.proxyPort", "8080")

see http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html for more proxy system properties

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions