Client
Configures how the HTTP client should operate for requests that require calling an external HTTP(s) server.
Configuration
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
|
The user agent to include in outgoing http requests. |
string |
No |
tilegroxy/VERSION |
|
The maximum Content-Length to allow incoming responses |
int |
No |
10 MiB |
|
Allow responses that are missing a Content-Length header |
bool |
No |
false |
|
The content-types to allow remote servers to return. Anything else will be interpreted as an error. See Content Type for details |
string[] |
No |
image/png, image/jpg, image/jpeg, application/vnd.mapbox-vector-tile, application/x-protobuf, application/vnd.maplibre-tile, application/vnd.maplibre-vector-tile |
|
The status codes from the remote server to consider successful |
int[] |
No |
200 |
|
How long (in seconds) to wait for a remote server to respond, including reading the body, before giving up and returning an error. 0 disables the timeout, in which case only the server |
int |
No |
10 |
|
Include these headers in requests |
map[string]string |
No |
None |
|
Replaces |
map[string]string |
No |
{"application/octet-stream": ""} |
| Configuration Parameter | Environment Variable |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|