| 196 | |
| 197 | |
| 198 | == GDAL/OGR HTTP options == |
| 199 | |
| 200 | === CPL_CURL_VERBOSE === |
| 201 | |
| 202 | Set to "YES" to get the curl library to display a lot of verbose information about its operations. Very useful for libcurl and/or protocol debugging and understanding. |
| 203 | |
| 204 | === GDAL_HTTP_AUTH === |
| 205 | |
| 206 | Set value to [BASIC/NTLM/GSSNEGOTIATE/ANY] to tell libcurl which authentication method(s) you want it to use. See http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTHTTPAUTH for more information. |
| 207 | |
| 208 | === GDAL_HTTP_USERPWD === |
| 209 | |
| 210 | The HTTP user and password to use for the connection. Must be in the form of [user name]:[password]. Use GDAL_HTTP_AUTH to decide the authentication method. |
| 211 | |
| 212 | When using NTLM, you can set the domain by prepending it to the user name and separating the domain and name with a forward (/) or backward slash (\). Like this: "domain/user:password" or "domain\user:password". Some HTTP servers (on Windows) support this style even for Basic authentication. |
| 213 | |
| 214 | === GDAL_HTTP_PROXY === |
| 215 | |
| 216 | Set HTTP proxy to use. The parameter should be the host name or dotted IP address. To specify port number in this string, append :[port] to the end of the host name. The proxy string may be prefixed with [protocol]:// since any such prefix will be ignored. The proxy's port number may optionally be specified with the separate option. If not specified, libcurl will default to using port 1080 for proxies. |
| 217 | |
| 218 | GDAL respects the environment variables http_proxy, ftp_proxy, all_proxy etc, if any of those are set. GDAL_HTTP_PROXY option does however override any possibly set environment variables. |
| 219 | |
| 220 | === GDAL_HTTP_PROXYUSERPWD === |
| 221 | |
| 222 | The HTTP user and password to use for the connection to the HTTP proxy. Must be in the form of [user name]:[password]. |
| 223 | |
| 224 | === GDAL_PROXY_AUTH === |
| 225 | |
| 226 | Set value to [BASIC/NTLM/DIGEST/ANY] to tell libcurl which authentication method(s) you want it to use for your proxy authentication. See http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYAUTH for more information |
| 227 | |
| 228 | === CPL_CURL_GZIP === |
| 229 | |
| 230 | Sets the contents of the Accept-Encoding header sent in a HTTP request to gzip, and enables decoding of a response when a Content-Encoding: header |
| 231 | |
| 232 | === GDAL_HTTP_TIMEOUT === |
| 233 | |
| 234 | Set HTTP timeout value, where value is in seconds |
| 235 | |
| 236 | === GDAL_HTTP_USERAGENT === |
| 237 | |
| 238 | When set this string is will be used to set the User-Agent: header in the http request sent to the remote server |
| 239 | |