class Fastly::ResponseObject

Set up a response object. Best used with conditions.

Attributes

cache_condition[RW]

Name of the cache condition used to test whether this response object should be used.

content[RW]

The content to deliver for the response object, can be empty.

content_type[RW]

The MIME type of the content, can be empty.

name[RW]

The name of the response object

request_condition[RW]

Name of the request condition used to test whether this response object should be used.

response[RW]

The HTTP response, defaults to “Ok”

service_id[RW]

The id of the service this belongs to.

status[RW]

The HTTP status code, defaults to 200

version[RW]

The number of the version this belongs to.