...
The content of the element is an option-specific string that depends on the option being set.
Examples
...
Restrict transport to IPv4
...
Code Block | ||
---|---|---|
| ||
<TransportOption provider="CURL" option="113">1</TransportOption> |
...
Set transport timeout in seconds
...
Code Block | ||
---|---|---|
| ||
<TransportOption provider="CURL" option="13">120</TransportOption> |
...
Set HTTP proxy address
...
Code Block | ||
---|---|---|
| ||
<TransportOption provider="CURL" option="10004">proxy.example.org:8080</TransportOption> |
Verify SSL certificate
...
SSL_VERIFYPEER
...
,
...
SSL_VERIFYHOST
...
,
...
CAINFO
...
Code Block | ||
---|---|---|
| ||
<!-- Known to work with curl 7.26 and GnuTLS 2.12.20 (Debian 7.0) --> <TransportOption provider="CURL" option="64">1</TransportOption> <!--SSL_VERIFYPEER --> <TransportOption provider="CURL" option="81">2</TransportOption> <!-- SSL_VERIFY_HOST --> <TransportOption provider="CURL" option="10065">/etc/ssl/certs/ca-certificates.crt</TransportOption> <!-- CAINFO --> |
Download metadata from a webserver that enforced HTTP Basic authentication by setting CURL authentication method, username and password
Code Block |
---|
<TransportOption provider="CURL" option="107">1</TransportOption>
<TransportOption provider="CURL" option="10173">username</TransportOption>
<TransportOption provider="CURL" option="10174">s3cr3tpassword</TransportOption> |