Request settings

Settings used to customize Fastly's request handling. When used with Conditions the Request Settings object allows you to fine tune how specific types of requests are handled.

Data model

actionstringAllows you to terminate request handling and immediately perform an action.
default_hoststringSets the host header.
hash_keysstringComma separated list of varnish request object fields that should be in the hash key.
namestringName for the request settings.
request_conditionstringCondition which, if met, will select this configuration during a request. Optional.
xffstringShort for X-Forwarded-For.
bypass_busy_waitintegerDisable collapsed forwarding, so you don't wait for other objects to origin.
force_missintegerAllows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
force_sslintegerForces the request use SSL (redirects a non-SSL to SSL).
geo_headersintegerInjects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
max_stale_ageintegerHow old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
timer_supportintegerInjects the X-Timer info into the request for viewing origin fetch durations.
created_atstringDate and time in ISO 8601 format. Read-only.
deleted_atstringDate and time in ISO 8601 format. Read-only.
service_idstringAlphanumeric string identifying the service. Read-only.
updated_atstringDate and time in ISO 8601 format. Read-only.
versionstringString identifying a service version. Read-only.


List Request Settings objects


Create a Request Settings object


Get a Request Settings object


Update a Request Settings object


Delete a Request Settings object