From e72d3d053749c8c39f17c672e6a5ced313b6ccd4 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 24 Apr 2019 12:01:06 +0200 Subject: [PATCH] add Rackspace CloudFiles logging support --- README.md | 23 + library/fastly_service.py | 76 + .../TestFastlyCacheSettings_tearDown.yml | 242 +- ...cheSettings_test_fastly_cache_settings.yml | 1786 ++++++--- ...test_fastly_cache_settings_with_action.yml | 1803 ++++++--- ...astly_cache_settings_without_stale_ttl.yml | 2124 ++++++---- .../TestFastlyCondition_tearDown.yml | 245 +- ...yCondition_test_fastly_cache_condition.yml | 1810 ++++++--- ...ondition_test_fastly_request_condition.yml | 1616 +++++--- .../TestFastlyDirectors_tearDown.yml | 245 +- ..._test_fastly_director_with_one_backend.yml | 2210 +++++++---- .../cassettes/TestFastlyGzip_tearDown.yml | 246 +- .../TestFastlyGzip_test_fastly_gzip.yml | 1778 ++++++--- .../TestFastlyHealthchecks_tearDown.yml | 242 +- ...yHealthchecks_test_fastly_healthchecks.yml | 1883 ++++++--- .../TestFastlyLoggingS3_tearDown.yml | 252 +- .../TestFastlyLoggingS3_test_fastly_s3s.yml | 2107 ++++++---- ...FastlyLoggingS3_test_fastly_s3s_remove.yml | 1735 +++++--- .../TestFastlyLoggingSyslog_tearDown.yml | 246 +- ...ggingSyslog_test_fastly_logging_syslog.yml | 2015 +++++++--- ...slog_test_fastly_logging_syslog_remove.yml | 3429 +++++++++++----- .../TestFastlyRequestSetting_tearDown.yml | 242 +- ...g_test_fastly_request_setting_defaults.yml | 1883 ++++++--- ...y_response_object_content_content_type.yml | 1737 +++++--- .../TestFastlyResponseObject_tearDown.yml | 242 +- ...y_response_object_content_content_type.yml | 1741 +++++--- ...t_test_fastly_response_object_defaults.yml | 1737 +++++--- .../cassettes/TestFastlySettings_tearDown.yml | 238 +- ...estFastlySettings_test_fastly_settings.yml | 1739 +++++--- .../TestFastlyVclSnippets_tearDown.yml | 242 +- ...tly_vcl_snippets_deliver_stale_content.yml | 1834 ++++++--- tests/fixtures/cassettes/tearDown | 240 +- .../test_fastly_backend_empty_ssl_ca_cert | 1449 ++++--- .../test_fastly_backend_port_not_required | 1557 +++++--- .../cassettes/test_fastly_backend_weight_even | 1688 +++++--- .../test_fastly_domain_comment_not_required | 1671 +++++--- .../test_fastly_header_action_not_required | 1743 +++++--- ...t_fastly_header_ignore_if_set_not_required | 182 +- .../test_fastly_header_priority_not_required | 180 +- .../cassettes/test_service_does_exist | 3506 ++++++++++++----- ...exist_and_activate_new_version_is_disabled | 3435 +++++++++++----- ...vice_does_exist_and_configuration_is_equal | 372 +- ...equal_and_activate_new_version_is_disabled | 373 +- .../cassettes/test_service_does_not_exist | 1802 ++++++--- ...exist_and_activate_new_version_is_disabled | 1739 +++++--- 45 files changed, 39959 insertions(+), 17726 deletions(-) diff --git a/README.md b/README.md index 95d0ca5..51b34d3 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ $ ansible-galaxy install Jimdo.fastly | settings | false | Settings object | | | s3s | false | List of S3 loggers | | | syslogs | false | List of Syslog loggers | | +| cloudfiles | false | List of CloudFiles loggers | | | vcl_snippets | false | List of VCL snippets | | ### Backend @@ -221,6 +222,28 @@ $ ansible-galaxy install Jimdo.fastly | use_tls | false | int | 0 | +### CloudFiles Logging + +[Fastly documentation](https://docs.fastly.com/api/logging#logging_cloudfiles) + +| Field | Required | Type | Default | +|:----------------------------------|:---------|:-----------------------------------------------|:-------------------------------------| +| name | true | string | | +| access_key | false | string | | +| bucket_name | false | string | | +| format | false | string | %{%Y-%m-%dT%H:%M:%S}t %h "%r" %>s %b | +| format_version | false | integer | 2 | +| gzip_level | false | integer | 0 | +| message_type | false | enum ('classic', 'loggly', 'logplex', 'blank') | classic | +| path | false | string | / | +| period | false | integer | 3600 | +| placement | false | string | | +| region | false | string | | +| response_condition | false | string | '' | +| timestamp_format | false | string | %Y-%m-%dT%H | +| user | true | string | | + + ### Settings [Fastly documentation](https://docs.fastly.com/api/config#settings) diff --git a/library/fastly_service.py b/library/fastly_service.py index e1dbcc2..9a3aa62 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -70,6 +70,10 @@ required: false description: - List of Syslog loggers + cloudfiles: + required: false + description: + - List of CloudFiles loggers settings: required: false description: @@ -605,6 +609,44 @@ def sort_key(f): return f.name +class FastlyCloudFilesLogging(FastlyObject): + schema = { + 'name': dict(required=True, type='str', default=None), + 'access_key': dict(required=False, type='str', default=None), + 'bucket_name': dict(required=False, type='str', default=None), + 'format': dict(required=False, type='str', default='%{%Y-%m-%dT%H:%M:%S}t %h "%r" %>s %b'), + 'format_version': dict(required=False, type='int', default=2), + 'gzip_level': dict(required=False, type='int', default=0), + 'message_type': dict(required=False, type='str', default="classic", choices=['classic', 'loggly', 'logplex', 'blank', None]), + 'path': dict(required=False, type='str', default='/'), + 'period': dict(required=False, type='int', default=3600), + 'placement': dict(required=False, type='str', default=None), + 'region': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'response_condition': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'timestamp_format': dict(required=False, type='str', default='%Y-%m-%dT%H'), + 'user': dict(required=True, type='str', default=None), + } + + def __init__(self, config, validate_choices): + self.name = self.read_config(config, validate_choices, 'name') + self.access_key = self.read_config(config, validate_choices, 'access_key') + self.bucket_name = self.read_config(config, validate_choices, 'bucket_name') + self.format = self.read_config(config, validate_choices, 'format') + self.format_version = self.read_config(config, validate_choices, 'format_version') + self.gzip_level = self.read_config(config, validate_choices, 'gzip_level') + self.message_type = self.read_config(config, validate_choices, 'message_type') + self.path = self.read_config(config, validate_choices, 'path') + self.period = self.read_config(config, validate_choices, 'period') + self.placement = self.read_config(config, validate_choices, 'placement') + self.region = self.read_config(config, validate_choices, 'region') + self.response_condition = self.read_config(config, validate_choices, 'response_condition') + self.timestamp_format = self.read_config(config, validate_choices, 'timestamp_format') + self.user = self.read_config(config, validate_choices, 'user') + + def sort_key(f): + return f.name + + class FastlySettings(FastlyObject): schema = { 'general.default_ttl': dict(required=False, type='int', default=3600) @@ -634,6 +676,7 @@ def __init__(self, cfg, validate_choices=True): self.snippets = [FastlyVclSnippet(s, validate_choices) for s in cfg.get('snippets') or []] self.s3s = [FastlyS3Logging(s, validate_choices) for s in cfg.get('s3s') or []] self.syslogs = [FastlySyslogLogging(s, validate_choices) for s in cfg.get('syslogs') or []] + self.cloudfiles = [FastlyCloudFilesLogging(s, validate_choices) for s in cfg.get('cloudfiles') or []] self.settings = FastlySettings(cfg.get('settings'), validate_choices) def __eq__(self, other): @@ -650,6 +693,7 @@ def __eq__(self, other): and sorted(self.snippets, key=FastlyVclSnippet.sort_key) == sorted(other.snippets, key=FastlyVclSnippet.sort_key) \ and sorted(self.s3s, key=FastlyS3Logging.sort_key) == sorted(other.s3s, key=FastlyS3Logging.sort_key) \ and sorted(self.syslogs, key=FastlySyslogLogging.sort_key) == sorted(other.syslogs, key=FastlySyslogLogging.sort_key) \ + and sorted(self.cloudfiles, key=FastlyCloudFilesLogging.sort_key) == sorted(other.cloudfiles, key=FastlyCloudFilesLogging.sort_key) \ and self.settings == other.settings def __ne__(self, other): @@ -1060,6 +1104,29 @@ def delete_syslog_logger(self, service_id, version, syslog_logger): raise Exception("Error deleting syslog logger %s service %s, version %s (%s)" % ( syslog_logger, service_id, version, response.error())) + def get_cloudfiles_loggers(self, service_id, version): + response = self._request('/service/%s/version/%s/logging/cloudfiles' % (urllib.quote(service_id, ''), version), 'GET') + if response.status == 200: + return response.payload + raise Exception( + "Error retrieving cloudfiles loggers for service %s, version %s (%s)" % (service_id, version, response.error())) + + def create_cloudfiles_logger(self, service_id, version, cloudfiles): + response = self._request('/service/%s/version/%s/logging/cloudfiles' % (service_id, version), 'POST', cloudfiles) + + if response.status == 200: + return response.payload + else: + raise Exception("Error creating cloudfiles logger '%s' for service %s, version %s (%s)" % (cloudfiles.name, service_id, version, response.error())) + + def delete_cloudfiles_logger(self, service_id, version, cloudfiles_logger): + response = self._request('/service/%s/version/%s/logging/cloudfiles/%s' % (urllib.quote(service_id, ''), version, urllib.quote(cloudfiles_logger, '')), + 'DELETE') + if response.status == 200: + return response.payload + raise Exception("Error deleting cloudfiles logger %s service %s, version %s (%s)" % ( + cloudfiles_logger, service_id, version, response.error())) + def create_settings(self, service_id, version, settings): response = self._request('/service/%s/version/%s/settings' % (urllib.quote(service_id, ''), version), 'PUT', settings) if response.status == 200: @@ -1136,6 +1203,7 @@ def reset_version(self, service_id, version_to_delete): snippets = self.client.get_vcl_snippet_name(service_id, version_to_delete) s3_loggers = self.client.get_s3_loggers(service_id, version_to_delete) syslog_loggers = self.client.get_syslog_loggers(service_id, version_to_delete) + cloudfiles_loggers = self.client.get_cloudfiles_loggers(service_id, version_to_delete) for domain_name in domain: self.client.delete_domain(service_id, version_to_delete, domain_name['name']) @@ -1176,6 +1244,9 @@ def reset_version(self, service_id, version_to_delete): for logger in syslog_loggers: self.client.delete_syslog_logger(service_id, version_to_delete, logger['name']) + for logger in cloudfiles_loggers: + self.client.delete_cloudfiles_logger(service_id, version_to_delete, logger['name']) + def configure_version(self, service_id, configuration, version_number): for domain in configuration.domains: self.client.create_domain(service_id, version_number, domain) @@ -1219,6 +1290,9 @@ def configure_version(self, service_id, configuration, version_number): for logger in configuration.syslogs: self.client.create_syslog_logger(service_id, version_number, logger) + for logger in configuration.cloudfiles: + self.client.create_cloudfiles_logger(service_id, version_number, logger) + if configuration.settings: self.client.create_settings(service_id, version_number, configuration.settings) @@ -1259,6 +1333,7 @@ def __init__(self): vcl_snippets=dict(default=None, required=False, type='list'), s3s=dict(default=None, required=False, type='list'), syslogs=dict(default=None, required=False, type='list'), + cloudfiles=dict(default=None, required=False, type='list'), settings=dict(default=None, required=False, type='dict'), ), supports_check_mode=False @@ -1289,6 +1364,7 @@ def configuration(self): 'snippets': self.module.params['vcl_snippets'], 's3s': self.module.params['s3s'], 'syslogs': self.module.params['syslogs'], + 'cloudfiles': self.module.params['cloudfiles'], 'settings': self.module.params['settings'] }) except FastlyValidationError as err: diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml index 2a420f1..3819c9a 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml @@ -2,103 +2,195 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":""}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","updated_at":"2019-04-24T14:14:48Z","deleted_at":null,"created_at":"2019-04-24T14:14:48Z","id":"0Rft4901vbR6esfLfNd7l3","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:14:48Z","updated_at":"2019-04-24T14:14:48Z","service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"active":true,"number":2,"deployed":false,"updated_at":"2019-04-24T14:15:04Z","testing":false,"created_at":"2019-04-24T14:14:50Z","deleted_at":null,"service_id":"0Rft4901vbR6esfLfNd7l3","comment":"","staging":false}]}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692486.161424,VS0,VE182'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115306.300499,VS0,VE247 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:48Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:48Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:50Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:04Z","deployed":false}],"created_at":"2019-04-24T14:14:48Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:48Z","id":"0Rft4901vbR6esfLfNd7l3","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4193'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692486.401075,VS0,VE116'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4215' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115307.703612,VS0,VE179 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/deactivate + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:50Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:04Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:27 GMT'] - fastly-ratelimit-remaining: ['991'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692487.575606,VS0,VE491'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:07 GMT + fastly-ratelimit-remaining: + - '818' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115307.012917,VS0,VE597 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3 response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:27 GMT'] - fastly-ratelimit-remaining: ['990'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692487.125148,VS0,VE144'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:08 GMT + fastly-ratelimit-remaining: + - '817' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115308.759849,VS0,VE527 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml index 0000b15..7b200b9 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml @@ -2,413 +2,913 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['455'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692475.622439,VS0,VE387'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:48 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115288.580249,VS0,VE480 + status: + code: 404 + message: Not Found +- request: + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.fastly.com/service + response: + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","id":"0Rft4901vbR6esfLfNd7l3","updated_at":"2019-04-24T14:14:48Z","created_at":"2019-04-24T14:14:48Z","publish_key":"36df517ae07d7e86ee4bb74caaeebc403a5ec2a6","versions":[{"active":false,"updated_at":"2019-04-24T14:14:48Z","service_id":"0Rft4901vbR6esfLfNd7l3","created_at":"2019-04-24T14:14:48Z","locked":false,"staging":false,"deleted_at":null,"deployed":false,"testing":false,"number":1,"comment":""}],"deleted_at":null,"comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:48 GMT + fastly-ratelimit-remaining: + - '827' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115288.269100,VS0,VE573 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T14:42:41Z","active":false,"number":1,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T14:42:41Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692475.066603,VS0,VE160'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:48Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:48Z","deployed":false}],"created_at":"2019-04-24T14:14:48Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:48Z","id":"0Rft4901vbR6esfLfNd7l3","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:48Z","active":false,"number":1,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:14:48Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115289.961448,VS0,VE571 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/1/clone + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:15 GMT'] - fastly-ratelimit-remaining: ['999'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692475.278761,VS0,VE479'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:48Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:48Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:50 GMT + fastly-ratelimit-remaining: + - '826' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115290.706041,VS0,VE602 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/domain + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692476.816537,VS0,VE408'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115290.419438,VS0,VE184 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/healthcheck + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692476.282550,VS0,VE391'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115291.718830,VS0,VE176 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/condition + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692477.731243,VS0,VE450'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115291.982345,VS0,VE477 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/backend + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692477.238386,VS0,VE424'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115292.680933,VS0,VE189 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/director + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692478.719822,VS0,VE408'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115292.968307,VS0,VE483 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/cache_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115293.693137,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/cache_settings + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692478.192475,VS0,VE405'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115293.400150,VS0,VE174 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/gzip + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692479.653690,VS0,VE165'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115294.039863,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/header + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692479.875914,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115295.724004,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/request_settings + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692479.063941,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115295.314001,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/response_object + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692479.247668,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115296.963261,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/snippet + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692480.715783,VS0,VE391'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115297.550142,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/logging/s3 + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692480.163848,VS0,VE388'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115297.181767,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/logging/syslog + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692481.602482,VS0,VE408'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115298.793946,VS0,VE448 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/domain + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5Uofg7tBxthwFe9v68mLyq","version":2,"deleted_at":null,"created_at":"2018-05-30T15:01:21Z","updated_at":"2018-05-30T15:01:21Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:21 GMT'] - fastly-ratelimit-remaining: ['998'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692481.068886,VS0,VE666'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"0Rft4901vbR6esfLfNd7l3","version":2,"deleted_at":null,"created_at":"2019-04-24T14:14:59Z","updated_at":"2019-04-24T14:14:59Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:59 GMT + fastly-ratelimit-remaining: + - '825' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115299.618536,VS0,VE547 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -416,266 +916,498 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/backend + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5Uofg7tBxthwFe9v68mLyq","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:21Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:21Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:21 GMT'] - fastly-ratelimit-remaining: ['997'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692482.793010,VS0,VE175'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"0Rft4901vbR6esfLfNd7l3","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:14:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:14:59Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:59 GMT + fastly-ratelimit-remaining: + - '824' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115299.353744,VS0,VE618 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"action": null, "stale_ttl": 10, "name": "cache-settings-config-name", "cache_condition": ""}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/cache_settings + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:22Z","updated_at":"2018-05-30T15:01:22Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['240'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:22 GMT'] - fastly-ratelimit-remaining: ['996'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692482.026096,VS0,VE465'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"0Rft4901vbR6esfLfNd7l3","version":"2","ttl":null,"deleted_at":null,"created_at":"2019-04-24T14:15:00Z","updated_at":"2019-04-24T14:15:00Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '240' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:00 GMT + fastly-ratelimit-remaining: + - '823' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115300.108380,VS0,VE545 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/header + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","updated_at":"2018-05-30T15:01:22Z","deleted_at":null,"created_at":"2018-05-30T15:01:22Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:22 GMT'] - fastly-ratelimit-remaining: ['995'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692483.548890,VS0,VE148'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"0Rft4901vbR6esfLfNd7l3","version":"2","created_at":"2019-04-24T14:15:00Z","deleted_at":null,"updated_at":"2019-04-24T14:15:00Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:01 GMT + fastly-ratelimit-remaining: + - '822' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115301.844849,VS0,VE237 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/response_object + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:23Z","updated_at":"2018-05-30T15:01:23Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:23 GMT'] - fastly-ratelimit-remaining: ['994'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692483.756067,VS0,VE429'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"0Rft4901vbR6esfLfNd7l3","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:15:01Z","updated_at":"2019-04-24T14:15:01Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:01 GMT + fastly-ratelimit-remaining: + - '821' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115301.269528,VS0,VE579 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/settings + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5Uofg7tBxthwFe9v68mLyq"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:23 GMT'] - fastly-ratelimit-remaining: ['993'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692483.243438,VS0,VE179'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_host":"","version":2,"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"service_id":"0Rft4901vbR6esfLfNd7l3"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:02 GMT + fastly-ratelimit-remaining: + - '820' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115302.002693,VS0,VE616 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/activate + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:23Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:25 GMT'] - fastly-ratelimit-remaining: ['992'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692483.480252,VS0,VE1572'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"staging":false,"service_id":"0Rft4901vbR6esfLfNd7l3","deleted_at":null,"testing":false,"number":2,"deployed":false,"comment":"","active":true,"updated_at":"2019-04-24T14:15:01Z","created_at":"2019-04-24T14:14:50Z","locked":true,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:04 GMT + fastly-ratelimit-remaining: + - '819' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115303.831700,VS0,VE1647 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:48Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:48Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:50Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:04Z","deployed":false}],"created_at":"2019-04-24T14:14:48Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:48Z","id":"0Rft4901vbR6esfLfNd7l3","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4193'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:25 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692485.109726,VS0,VE151'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4215' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115305.629949,VS0,VE262 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":""}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:25 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692485.318831,VS0,VE141'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"staging":false,"testing":false,"deployed":false,"number":1,"comment":"","service_id":"0Rft4901vbR6esfLfNd7l3","deleted_at":null,"active":false,"locked":false,"updated_at":"2019-04-24T14:14:48Z","created_at":"2019-04-24T14:14:48Z"},{"service_id":"0Rft4901vbR6esfLfNd7l3","created_at":"2019-04-24T14:14:50Z","deleted_at":null,"comment":"","staging":false,"number":2,"deployed":false,"locked":true,"active":true,"testing":false,"updated_at":"2019-04-24T14:15:04Z"}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","id":"0Rft4901vbR6esfLfNd7l3","created_at":"2019-04-24T14:14:48Z","deleted_at":null,"updated_at":"2019-04-24T14:14:48Z","name":"Fastly + Ansible Module Test"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115305.067804,VS0,VE232 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:48Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:48Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:50Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:04Z","deployed":false}],"created_at":"2019-04-24T14:14:48Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:48Z","id":"0Rft4901vbR6esfLfNd7l3","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4193'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:25 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692486.517862,VS0,VE117'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4215' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115305.475918,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details + uri: https://api.fastly.com/service/0Rft4901vbR6esfLfNd7l3/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:48Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:48Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"0Rft4901vbR6esfLfNd7l3","staging":false,"created_at":"2019-04-24T14:14:50Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:04Z","deployed":false}],"created_at":"2019-04-24T14:14:48Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:48Z","id":"0Rft4901vbR6esfLfNd7l3","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:04Z","active":true,"number":2,"service_id":"0Rft4901vbR6esfLfNd7l3","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4193'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692486.694265,VS0,VE386'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4215' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115306.892027,VS0,VE202 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml index 8252db9..641e125 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml @@ -2,440 +2,916 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:27 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692487.332638,VS0,VE118'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:08 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115308.414881,VS0,VE185 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"0edf6ad96bd2dea975b23e0d5bdc7270667c8aa0","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:01:27Z","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:27 GMT'] - fastly-ratelimit-remaining: ['989'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692488.510956,VS0,VE441'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"c0ebd024221b3d38b7b36920c95faecf5157653b","created_at":"2019-04-24T14:15:09Z","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","comment":"","deleted_at":null,"versions":[{"staging":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"deployed":false,"testing":false,"number":1,"comment":"","active":false,"updated_at":"2019-04-24T14:15:09Z","created_at":"2019-04-24T14:15:09Z","locked":false}]}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:09 GMT + fastly-ratelimit-remaining: + - '816' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115309.764211,VS0,VE531 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:27Z","active":false,"number":1,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:01:27Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692488.011410,VS0,VE163'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","updated_at":"2019-04-24T14:15:09Z","created_at":"2019-04-24T14:15:09Z","staging":false,"testing":false,"number":1,"deployed":false,"comment":"","deleted_at":null}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:09Z","active":false,"number":1,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:15:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115309.414807,VS0,VE572 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/1/clone + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:28 GMT'] - fastly-ratelimit-remaining: ['988'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692488.235158,VS0,VE490'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:10 GMT + fastly-ratelimit-remaining: + - '815' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115310.092589,VS0,VE609 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/domain + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692489.780771,VS0,VE384'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115311.815905,VS0,VE184 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/healthcheck + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692489.213253,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115311.206592,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/condition + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692489.391754,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115312.819406,VS0,VE193 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/backend + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692490.579285,VS0,VE408'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115312.124952,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/director + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692490.043036,VS0,VE383'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115313.751271,VS0,VE179 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/cache_settings + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692490.485932,VS0,VE382'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115313.039669,VS0,VE486 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/gzip + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115314.666610,VS0,VE187 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/gzip + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692491.920540,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:14 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115314.961680,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/header + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692491.099935,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115315.589272,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/request_settings + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692491.275254,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115315.309525,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/response_object + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692491.451964,VS0,VE162'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115316.917193,VS0,VE176 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/snippet + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692492.668046,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115316.226630,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/logging/s3 + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692492.849646,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115317.838814,VS0,VE474 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/logging/syslog + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692492.033505,VS0,VE395'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115317.455285,VS0,VE486 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/domain + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":2,"deleted_at":null,"created_at":"2018-05-30T15:01:32Z","updated_at":"2018-05-30T15:01:32Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:32 GMT'] - fastly-ratelimit-remaining: ['987'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692492.478934,VS0,VE220'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":2,"deleted_at":null,"created_at":"2019-04-24T14:15:18Z","updated_at":"2019-04-24T14:15:18Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:18 GMT + fastly-ratelimit-remaining: + - '814' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115318.060999,VS0,VE586 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -443,266 +919,497 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/backend + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:33Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:33 GMT'] - fastly-ratelimit-remaining: ['986'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692493.754171,VS0,VE438'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:15:19Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:15:19Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:19 GMT + fastly-ratelimit-remaining: + - '813' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115319.797051,VS0,VE579 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"action": "pass", "stale_ttl": 10, "name": "cache-settings-config-name", "cache_condition": ""}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/cache_settings + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:33Z","updated_at":"2018-05-30T15:01:33Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['242'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:33 GMT'] - fastly-ratelimit-remaining: ['985'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692493.249399,VS0,VE445'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"2","ttl":null,"deleted_at":null,"created_at":"2019-04-24T14:15:19Z","updated_at":"2019-04-24T14:15:19Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '242' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:19 GMT + fastly-ratelimit-remaining: + - '812' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115319.485042,VS0,VE249 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/header + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","updated_at":"2018-05-30T15:01:34Z","deleted_at":null,"created_at":"2018-05-30T15:01:34Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:34 GMT'] - fastly-ratelimit-remaining: ['984'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692494.749980,VS0,VE466'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"2","updated_at":"2019-04-24T14:15:20Z","deleted_at":null,"created_at":"2019-04-24T14:15:20Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:20 GMT + fastly-ratelimit-remaining: + - '811' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115320.916697,VS0,VE551 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/response_object + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:34Z","updated_at":"2018-05-30T15:01:34Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:34 GMT'] - fastly-ratelimit-remaining: ['983'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692494.273897,VS0,VE420'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:15:20Z","updated_at":"2019-04-24T14:15:20Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:20 GMT + fastly-ratelimit-remaining: + - '810' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115321.599528,VS0,VE244 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/settings + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:35 GMT'] - fastly-ratelimit-remaining: ['982'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692495.753619,VS0,VE463'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_ttl":3600,"general.default_pci":0,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":"","version":2}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:21 GMT + fastly-ratelimit-remaining: + - '809' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115321.956235,VS0,VE582 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/activate + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:34Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:36 GMT'] - fastly-ratelimit-remaining: ['981'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692495.266733,VS0,VE1320'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:20Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:23 GMT + fastly-ratelimit-remaining: + - '808' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115322.645350,VS0,VE1447 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:22Z","deployed":false}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4197'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692497.638442,VS0,VE152'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4219' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115323.285829,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692497.849892,VS0,VE144'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"updated_at":"2019-04-24T14:15:09Z","service_id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:09Z","locked":false,"active":false,"deleted_at":null,"testing":false,"deployed":false,"number":1,"comment":"","staging":false},{"testing":false,"updated_at":"2019-04-24T14:15:22Z","number":2,"deployed":false,"locked":true,"active":true,"comment":"","staging":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:10Z","deleted_at":null}],"updated_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","created_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115324.002405,VS0,VE241 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:22Z","deployed":false}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4197'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692497.051168,VS0,VE117'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4219' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115324.429013,VS0,VE175 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:22Z","deployed":false}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4197'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692497.225824,VS0,VE124'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4219' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115325.725652,VS0,VE171 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml index 0b46ca2..a660bf3 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml @@ -2,544 +2,1111 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692497.470527,VS0,VE152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":""}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115325.174948,VS0,VE244 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:22Z","deployed":false}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:22Z","active":true,"number":2,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4197'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692498.678836,VS0,VE161'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4219' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115326.539443,VS0,VE170 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:38 GMT'] - fastly-ratelimit-remaining: ['980'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692498.901066,VS0,VE485'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/2/clone + response: + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:22Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:26 GMT + fastly-ratelimit-remaining: + - '807' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115326.853773,VS0,VE346 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain - response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","created_at":"2018-05-30T15:01:32Z","comment":"","updated_at":"2018-05-30T15:01:32Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:38 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692498.441807,VS0,VE121'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/domain + response: + body: + string: !!python/unicode '[{"created_at":"2019-04-24T14:15:18Z","deleted_at":null,"updated_at":"2019-04-24T14:15:26Z","name":"example8000.com","version":3,"comment":"","service_id":"7AG8FgHl3LQBBzv0C8iAS6"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115326.364163,VS0,VE177 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/healthcheck - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692499.620973,VS0,VE413'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/healthcheck + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115327.673871,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/condition - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692499.090899,VS0,VE383'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/condition + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115327.396066,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend - response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:01:33Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:01:33Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692500.530752,VS0,VE416'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/backend + response: + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:15:26Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:15:19Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115328.102032,VS0,VE509 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/director - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692500.005756,VS0,VE410'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/director + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115329.821579,VS0,VE476 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings - response: - body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:33Z","action":"pass","updated_at":"2018-05-30T15:01:33Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['246'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692500.473714,VS0,VE164'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/cache_settings + response: + body: + string: !!python/unicode '[{"updated_at":"2019-04-24T14:15:26Z","name":"cache-settings-config-name","created_at":"2019-04-24T14:15:19Z","action":"pass","cache_condition":"","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","stale_ttl":"10","version":"3","ttl":null}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '246' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115330.708948,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/gzip - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692501.696396,VS0,VE130'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/gzip + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115330.359632,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header - response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2Yozki6zPwppbu2BgGnY85","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:01:34Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:01:34Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692501.884155,VS0,VE124'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/header + response: + body: + string: !!python/unicode '[{"priority":"100","service_id":"7AG8FgHl3LQBBzv0C8iAS6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:15:26Z","version":"3","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:15:20Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115331.974741,VS0,VE189 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/request_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692501.065049,VS0,VE122'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/request_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115331.384217,VS0,VE473 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object - response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:34Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:01:34Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692501.243128,VS0,VE158'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/response_object + response: + body: + string: !!python/unicode '[{"status":"200","updated_at":"2019-04-24T14:15:26Z","name":"Set + 200 status code","created_at":"2019-04-24T14:15:20Z","response":"Ok","cache_condition":"","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","content_type":"","version":"3","request_condition":"","content":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115332.993742,VS0,VE191 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/snippet - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692501.461001,VS0,VE123'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/snippet + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115332.410679,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/logging/s3 - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692502.644354,VS0,VE131'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/logging/s3 + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115333.122601,VS0,VE476 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/logging/syslog - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692502.834341,VS0,VE118'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/logging/syslog + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115334.741191,VS0,VE487 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115334.460443,VS0,VE183 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:42 GMT'] - fastly-ratelimit-remaining: ['979'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692502.007633,VS0,VE452'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/domain/example8000.com + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:35 GMT + fastly-ratelimit-remaining: + - '806' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115335.864260,VS0,VE574 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:42 GMT'] - fastly-ratelimit-remaining: ['978'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692503.518419,VS0,VE184'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/backend/localhost + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:36 GMT + fastly-ratelimit-remaining: + - '805' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115336.586650,VS0,VE589 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings/cache-settings-config-name - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:42 GMT'] - fastly-ratelimit-remaining: ['977'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692503.757717,VS0,VE212'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/cache_settings/cache-settings-config-name + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:37 GMT + fastly-ratelimit-remaining: + - '804' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115337.511902,VS0,VE579 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:43 GMT'] - fastly-ratelimit-remaining: ['976'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692503.026151,VS0,VE439'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/header/Set%20Location%20header + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:37 GMT + fastly-ratelimit-remaining: + - '803' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115337.220964,VS0,VE272 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object/Set%20200%20status%20code - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:44 GMT'] - fastly-ratelimit-remaining: ['975'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692504.532938,VS0,VE503'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/response_object/Set%20200%20status%20code + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:38 GMT + fastly-ratelimit-remaining: + - '802' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115338.632924,VS0,VE719 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain - response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":3,"deleted_at":null,"created_at":"2018-05-30T15:01:44Z","updated_at":"2018-05-30T15:01:44Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:44 GMT'] - fastly-ratelimit-remaining: ['974'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692504.092414,VS0,VE473'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/domain + response: + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":3,"deleted_at":null,"created_at":"2019-04-24T14:15:38Z","updated_at":"2019-04-24T14:15:38Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:39 GMT + fastly-ratelimit-remaining: + - '801' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115338.465520,VS0,VE606 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -547,264 +1114,499 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend - response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:44Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:44Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:45 GMT'] - fastly-ratelimit-remaining: ['973'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692505.623280,VS0,VE430'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/backend + response: + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:15:39Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:15:39Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:39 GMT + fastly-ratelimit-remaining: + - '800' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115339.270347,VS0,VE582 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"action": null, "stale_ttl": 0, "name": "cache-settings-config-name", "cache_condition": ""}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings - response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:45Z","updated_at":"2018-05-30T15:01:45Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['239'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:45 GMT'] - fastly-ratelimit-remaining: ['972'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692505.115326,VS0,VE413'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/cache_settings + response: + body: + string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"3","ttl":null,"deleted_at":null,"created_at":"2019-04-24T14:15:44Z","updated_at":"2019-04-24T14:15:44Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '239' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:44 GMT + fastly-ratelimit-remaining: + - '799' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115344.707519,VS0,VE559 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header - response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","updated_at":"2018-05-30T15:01:45Z","deleted_at":null,"created_at":"2018-05-30T15:01:45Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:46 GMT'] - fastly-ratelimit-remaining: ['971'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692506.586420,VS0,VE454'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/header + response: + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"3","updated_at":"2019-04-24T14:15:44Z","deleted_at":null,"created_at":"2019-04-24T14:15:44Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:45 GMT + fastly-ratelimit-remaining: + - '798' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115344.493953,VS0,VE590 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object - response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:46Z","updated_at":"2018-05-30T15:01:46Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:46 GMT'] - fastly-ratelimit-remaining: ['970'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692506.099715,VS0,VE427'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/response_object + response: + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:15:45Z","updated_at":"2019-04-24T14:15:45Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:45 GMT + fastly-ratelimit-remaining: + - '797' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115345.194410,VS0,VE578 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/settings - response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:47 GMT'] - fastly-ratelimit-remaining: ['969'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692507.586797,VS0,VE470'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/settings + response: + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7AG8FgHl3LQBBzv0C8iAS6"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:46 GMT + fastly-ratelimit-remaining: + - '796' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115346.422109,VS0,VE574 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/activate - response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:46Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:48 GMT'] - fastly-ratelimit-remaining: ['968'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692507.115266,VS0,VE933'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/activate + response: + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:45Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:48 GMT + fastly-ratelimit-remaining: + - '795' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115347.155361,VS0,VE1586 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4423'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692508.106112,VS0,VE154'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"deleted_at":null,"id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:15:09Z","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}},"active_version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4445' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115349.857288,VS0,VE546 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692508.318830,VS0,VE180'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:48Z","active":true,"number":3,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:26Z","comment":""}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115350.517288,VS0,VE605 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4423'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692509.558972,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"deleted_at":null,"id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:15:09Z","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}},"active_version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}}}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4445' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115350.215669,VS0,VE470 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4423'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692509.744621,VS0,VE164'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"deleted_at":null,"id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:15:09Z","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}},"active_version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4445' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115351.787022,VS0,VE172 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml index a10f75e..24d9c3f 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml @@ -2,105 +2,200 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} + body: + string: !!python/unicode '{"deleted_at":null,"id":"4988RK30zjTjnn3YSGpize","created_at":"2019-04-24T14:18:08Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:18:08Z","versions":[{"locked":false,"updated_at":"2019-04-24T14:18:08Z","service_id":"4988RK30zjTjnn3YSGpize","created_at":"2019-04-24T14:18:08Z","active":false,"number":1,"deployed":false,"testing":false,"comment":"","deleted_at":null,"staging":false},{"staging":false,"service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"number":2,"testing":false,"deployed":false,"comment":"","active":false,"updated_at":"2019-04-24T14:18:46Z","created_at":"2019-04-24T14:18:09Z","locked":true},{"staging":false,"number":3,"deployed":false,"testing":false,"comment":"","service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"active":false,"locked":true,"updated_at":"2019-04-24T14:19:08Z","created_at":"2019-04-24T14:18:27Z"},{"testing":false,"updated_at":"2019-04-24T14:19:08Z","deployed":false,"number":4,"locked":true,"active":true,"comment":"","staging":false,"service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"created_at":"2019-04-24T14:18:49Z"}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:07 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692647.451861,VS0,VE149'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1150' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115550.649175,VS0,VE245 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:46Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:08Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:49Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:08Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:19:08Z","active":true,"number":4,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:19:08Z","active":true,"number":4,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4463'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:07 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692648.652508,VS0,VE120'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4717' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115550.083370,VS0,VE473 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/deactivate + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:49Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:08Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:08 GMT'] - fastly-ratelimit-remaining: ['820'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692648.830561,VS0,VE504'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:11 GMT + fastly-ratelimit-remaining: + - '691' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115551.670785,VS0,VE572 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4 + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:08 GMT'] - fastly-ratelimit-remaining: ['819'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692648.393156,VS0,VE425'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:11 GMT + fastly-ratelimit-remaining: + - '690' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115551.354355,VS0,VE559 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml index c8369e2..5053632 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml @@ -2,545 +2,1115 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:57 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692638.540204,VS0,VE148'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"updated_at":"2019-04-24T14:18:08Z","name":"Fastly + Ansible Module Test","id":"4988RK30zjTjnn3YSGpize","created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"staging":false,"testing":false,"deployed":false,"number":1,"comment":"","service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"active":false,"locked":false,"updated_at":"2019-04-24T14:18:08Z","created_at":"2019-04-24T14:18:08Z"},{"staging":false,"deleted_at":null,"service_id":"4988RK30zjTjnn3YSGpize","comment":"","number":2,"testing":false,"deployed":false,"active":false,"created_at":"2019-04-24T14:18:09Z","updated_at":"2019-04-24T14:18:46Z","locked":true},{"testing":false,"updated_at":"2019-04-24T14:18:46Z","deployed":false,"number":3,"locked":true,"active":true,"comment":"","staging":false,"service_id":"4988RK30zjTjnn3YSGpize","created_at":"2019-04-24T14:18:27Z","deleted_at":null}]}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115528.661980,VS0,VE601 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:46Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:46Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:46Z","active":true,"number":3,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:46Z","active":true,"number":3,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:57 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692638.744660,VS0,VE157'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4247' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115528.376394,VS0,VE185 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/clone + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:58 GMT'] - fastly-ratelimit-remaining: ['832'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692638.961375,VS0,VE479'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"active":false,"created_at":"2019-04-24T14:18:27Z","updated_at":"2019-04-24T14:18:46Z","service_id":"4988RK30zjTjnn3YSGpize","locked":false,"staging":false,"deleted_at":null,"comment":"","deployed":false,"number":4,"testing":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:49 GMT + fastly-ratelimit-remaining: + - '703' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115529.690268,VS0,VE613 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","created_at":"2018-05-30T15:02:06Z","comment":"","updated_at":"2018-05-30T15:02:06Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692638.495906,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":4,"name":"example8000.com","service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"created_at":"2019-04-24T14:18:42Z","comment":"","updated_at":"2019-04-24T14:18:49Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115529.398803,VS0,VE562 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/healthcheck + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692639.685563,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115530.145834,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/condition + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692639.856385,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115531.858608,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:06Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:06Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692639.043051,VS0,VE139'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:18:49Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"4988RK30zjTjnn3YSGpize","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:18:43Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19182-FRA + x-timer: + - S1556115531.432611,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/director + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692639.241945,VS0,VE430'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556115532.085270,VS0,VE536 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/cache_settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692640.730850,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19170-FRA + x-timer: + - S1556115533.820210,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/gzip + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692640.914850,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115533.459433,VS0,VE493 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/header + response: + body: + string: !!python/unicode '[{"priority":"100","service_id":"4988RK30zjTjnn3YSGpize","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:18:49Z","version":"4","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:18:44Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115534.134024,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/request_settings response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"3C4FPwHsDEzBLF43Z63Ql4","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:07Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692640.093270,VS0,VE402'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115535.791474,VS0,VE494 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/request_settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692641.552824,VS0,VE166'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"200","version":"4","name":"Set + 200 status code","content":"","service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:18:44Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:18:49Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115535.392340,VS0,VE574 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/snippet response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","cache_condition":"","created_at":"2018-05-30T15:02:08Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:08Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692641.780807,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115536.140254,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/snippet + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692641.968692,VS0,VE131'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556115537.743712,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/logging/s3 + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692641.157558,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19121-FRA + x-timer: + - S1556115537.388506,VS0,VE557 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/logging/syslog + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692641.342576,VS0,VE411'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115538.105759,VS0,VE585 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain/example8000.com + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/domain/example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:02 GMT'] - fastly-ratelimit-remaining: ['831'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692642.810516,VS0,VE191'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:59 GMT + fastly-ratelimit-remaining: + - '702' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115539.807627,VS0,VE620 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend/localhost + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:02 GMT'] - fastly-ratelimit-remaining: ['830'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692642.059797,VS0,VE474'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:00 GMT + fastly-ratelimit-remaining: + - '701' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115540.574295,VS0,VE626 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:03 GMT'] - fastly-ratelimit-remaining: ['829'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692643.591248,VS0,VE488'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:00 GMT + fastly-ratelimit-remaining: + - '700' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115540.322016,VS0,VE589 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/response_object/Set%20200%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:03 GMT'] - fastly-ratelimit-remaining: ['828'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692643.138580,VS0,VE182'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:01 GMT + fastly-ratelimit-remaining: + - '699' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19182-FRA + x-timer: + - S1556115541.112875,VS0,VE639 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:03Z","updated_at":"2018-05-30T15:04:03Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:03 GMT'] - fastly-ratelimit-remaining: ['827'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692643.381125,VS0,VE528'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4988RK30zjTjnn3YSGpize","version":4,"deleted_at":null,"created_at":"2019-04-24T14:19:02Z","updated_at":"2019-04-24T14:19:02Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:02 GMT + fastly-ratelimit-remaining: + - '698' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115542.919674,VS0,VE356 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "CACHE", "name": "condition-name", "statement": "req.url ~ \"^/some_asset.js\""}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/condition + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/condition response: - body: {string: !!python/unicode '{"comment":"","priority":"0","type":"CACHE","name":"condition-name","statement":"req.url - ~ \"^/some_asset.js\"","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","deleted_at":null,"created_at":"2018-05-30T15:04:04Z","updated_at":"2018-05-30T15:04:04Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['254'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:04 GMT'] - fastly-ratelimit-remaining: ['826'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692644.963500,VS0,VE138'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","priority":"0","type":"CACHE","name":"condition-name","statement":"req.url + ~ \"^/some_asset.js\"","service_id":"4988RK30zjTjnn3YSGpize","version":"4","deleted_at":null,"created_at":"2019-04-24T14:19:02Z","updated_at":"2019-04-24T14:19:02Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '254' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:02 GMT + fastly-ratelimit-remaining: + - '697' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115542.394363,VS0,VE582 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -548,28 +1118,51 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:04Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:04Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:04 GMT'] - fastly-ratelimit-remaining: ['825'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692644.161311,VS0,VE459'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4988RK30zjTjnn3YSGpize","version":4,"client_cert":null,"ipv6":null,"ssl_sni_hostname":null,"deleted_at":null,"created_at":"2019-04-24T14:19:04Z","hostname":null,"ipv4":"127.0.0.1","comment":"","auto_loadbalance":false,"ssl_check_cert":true,"max_tls_version":null,"min_tls_version":null,"ssl_client_cert":null,"use_ssl":false,"ssl_ciphers":null,"ssl_client_key":null,"override_host":null,"updated_at":"2019-04-24T14:19:04Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:05 GMT + fastly-ratelimit-remaining: + - '696' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115543.088322,VS0,VE2017 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set cache control header", "src": "\"public, max-age=86400\"", @@ -577,134 +1170,249 @@ interactions: "100", "substitution": "", "action": "set", "type": "cache", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","cache_condition":"condition-name","priority":"100","substitution":"","action":"set","type":"cache","response_condition":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","updated_at":"2018-05-30T15:04:04Z","deleted_at":null,"created_at":"2018-05-30T15:04:04Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['420'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:04 GMT'] - fastly-ratelimit-remaining: ['824'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692645.684502,VS0,VE162'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","cache_condition":"condition-name","priority":"100","substitution":"","action":"set","type":"cache","response_condition":null,"service_id":"4988RK30zjTjnn3YSGpize","version":"4","updated_at":"2019-04-24T14:19:05Z","deleted_at":null,"created_at":"2019-04-24T14:19:05Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '420' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:05 GMT + fastly-ratelimit-remaining: + - '695' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115545.318714,VS0,VE592 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:05Z","updated_at":"2018-05-30T15:04:05Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:05 GMT'] - fastly-ratelimit-remaining: ['823'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692645.904663,VS0,VE418'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4988RK30zjTjnn3YSGpize","version":"4","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:19:06Z","updated_at":"2019-04-24T14:19:06Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:06 GMT + fastly-ratelimit-remaining: + - '694' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556115546.022804,VS0,VE556 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3C4FPwHsDEzBLF43Z63Ql4"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:05 GMT'] - fastly-ratelimit-remaining: ['822'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692645.374042,VS0,VE475'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"4988RK30zjTjnn3YSGpize"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:07 GMT + fastly-ratelimit-remaining: + - '693' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19170-FRA + x-timer: + - S1556115547.733315,VS0,VE570 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/activate + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:05Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:06 GMT'] - fastly-ratelimit-remaining: ['821'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692646.901089,VS0,VE962'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:49Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:06Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:09 GMT + fastly-ratelimit-remaining: + - '692' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115547.454592,VS0,VE1610 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:46Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:08Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:49Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:08Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:19:08Z","active":true,"number":4,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:19:08Z","active":true,"number":4,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4463'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:07 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692647.920039,VS0,VE441'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4717' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19166-FRA + x-timer: + - S1556115549.178120,VS0,VE266 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml index fa9a604..08d78cd 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml @@ -2,467 +2,967 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:09 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692649.887070,VS0,VE121'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:12 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115552.079375,VS0,VE178 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"74249aea9df72835bd28b4b803a11e9137d1d5e4","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:09Z","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:09 GMT'] - fastly-ratelimit-remaining: ['818'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692649.065077,VS0,VE434'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"c3011f5ba2d61f916091ac0a6336877f4c25452b","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5xiIQOk8dUOWtSwav38nr2","staging":false,"created_at":"2019-04-24T14:19:12Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:12Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:19:12Z","comment":"","updated_at":"2019-04-24T14:19:12Z","id":"5xiIQOk8dUOWtSwav38nr2"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:12 GMT + fastly-ratelimit-remaining: + - '689' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115552.370883,VS0,VE562 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:09Z","active":false,"number":1,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692650.556413,VS0,VE156'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5xiIQOk8dUOWtSwav38nr2","staging":false,"created_at":"2019-04-24T14:19:12Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:12Z","deployed":false}],"name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:19:12Z","deleted_at":null,"id":"5xiIQOk8dUOWtSwav38nr2","created_at":"2019-04-24T14:19:12Z","version":{"updated_at":"2019-04-24T14:19:12Z","testing":false,"locked":false,"active":false,"deployed":false,"number":1,"comment":"","staging":false,"deleted_at":null,"created_at":"2019-04-24T14:19:12Z","service_id":"5xiIQOk8dUOWtSwav38nr2","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115555.624713,VS0,VE588 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/1/clone + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:10 GMT'] - fastly-ratelimit-remaining: ['817'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692650.765400,VS0,VE484'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"staging":false,"number":2,"deployed":false,"testing":false,"comment":"","deleted_at":null,"service_id":"5xiIQOk8dUOWtSwav38nr2","active":false,"locked":false,"updated_at":"2019-04-24T14:19:12Z","created_at":"2019-04-24T14:19:12Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:16 GMT + fastly-ratelimit-remaining: + - '688' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115555.434374,VS0,VE606 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/domain + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692650.306067,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115556.249391,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/healthcheck + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692650.483855,VS0,VE114'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115557.872845,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/condition + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692651.657057,VS0,VE117'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115557.490036,VS0,VE531 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/backend + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692651.835050,VS0,VE413'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115558.162589,VS0,VE494 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/director + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692651.305745,VS0,VE389'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115559.777185,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/cache_settings + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692652.752603,VS0,VE133'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115559.415367,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/gzip + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692652.941967,VS0,VE405'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115560.013585,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/header + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692652.401241,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115561.611840,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/request_settings + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692653.574692,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115561.270768,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/response_object + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692653.040233,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115562.867736,VS0,VE475 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/snippet + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692653.224468,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115562.450990,VS0,VE497 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/logging/s3 + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692653.410014,VS0,VE115'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115563.081183,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/logging/syslog + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692654.583405,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115564.677384,VS0,VE178 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115564.029613,VS0,VE475 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/domain + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5UWEX3jgaUsS3pS44aBblN","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:13Z","updated_at":"2018-05-30T15:04:13Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:13 GMT'] - fastly-ratelimit-remaining: ['816'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692654.768374,VS0,VE197'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5xiIQOk8dUOWtSwav38nr2","version":2,"deleted_at":null,"created_at":"2019-04-24T14:19:25Z","updated_at":"2019-04-24T14:19:25Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:25 GMT + fastly-ratelimit-remaining: + - '687' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115565.661428,VS0,VE559 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "REQUEST", "name": "condition-name", "statement": "req.url ~ \"^/robots.txt\""}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/condition + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/condition response: - body: {string: !!python/unicode '{"comment":"","priority":"0","type":"REQUEST","name":"condition-name","statement":"req.url - ~ \"^/robots.txt\"","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","deleted_at":null,"created_at":"2018-05-30T15:04:14Z","updated_at":"2018-05-30T15:04:14Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['253'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:14 GMT'] - fastly-ratelimit-remaining: ['815'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692654.025658,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","priority":"0","type":"REQUEST","name":"condition-name","statement":"req.url + ~ \"^/robots.txt\"","service_id":"5xiIQOk8dUOWtSwav38nr2","version":"2","created_at":"2019-04-24T14:19:25Z","deleted_at":null,"updated_at":"2019-04-24T14:19:25Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '253' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:25 GMT + fastly-ratelimit-remaining: + - '686' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115565.385435,VS0,VE505 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -470,162 +970,300 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/backend + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:14Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:14Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:14 GMT'] - fastly-ratelimit-remaining: ['814'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692654.215024,VS0,VE459'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5xiIQOk8dUOWtSwav38nr2","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:19:26Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:19:26Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:26 GMT + fastly-ratelimit-remaining: + - '685' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115566.006375,VS0,VE593 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/header + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","updated_at":"2018-05-30T15:04:15Z","deleted_at":null,"created_at":"2018-05-30T15:04:15Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:15 GMT'] - fastly-ratelimit-remaining: ['813'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692655.734768,VS0,VE452'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5xiIQOk8dUOWtSwav38nr2","version":"2","updated_at":"2019-04-24T14:19:27Z","deleted_at":null,"created_at":"2019-04-24T14:19:27Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:27 GMT + fastly-ratelimit-remaining: + - '684' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115567.728770,VS0,VE568 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/response_object + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:15Z","updated_at":"2018-05-30T15:04:15Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:15 GMT'] - fastly-ratelimit-remaining: ['812'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692655.246401,VS0,VE152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5xiIQOk8dUOWtSwav38nr2","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:19:27Z","updated_at":"2019-04-24T14:19:27Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:27 GMT + fastly-ratelimit-remaining: + - '683' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115567.405742,VS0,VE583 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/settings + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5UWEX3jgaUsS3pS44aBblN"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:15 GMT'] - fastly-ratelimit-remaining: ['811'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692655.458136,VS0,VE204'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5xiIQOk8dUOWtSwav38nr2"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:28 GMT + fastly-ratelimit-remaining: + - '682' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115568.115026,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/activate + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:15Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:16 GMT'] - fastly-ratelimit-remaining: ['810'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692656.724663,VS0,VE659'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5xiIQOk8dUOWtSwav38nr2","staging":false,"created_at":"2019-04-24T14:19:15Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:27Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:30 GMT + fastly-ratelimit-remaining: + - '681' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115569.849168,VS0,VE1472 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details + uri: https://api.fastly.com/service/5xiIQOk8dUOWtSwav38nr2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5xiIQOk8dUOWtSwav38nr2","staging":false,"created_at":"2019-04-24T14:19:12Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:12Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5xiIQOk8dUOWtSwav38nr2","staging":false,"created_at":"2019-04-24T14:19:15Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:19:30Z","deployed":false}],"created_at":"2019-04-24T14:19:12Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:19:12Z","id":"5xiIQOk8dUOWtSwav38nr2","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:19:30Z","active":true,"number":2,"service_id":"5xiIQOk8dUOWtSwav38nr2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:19:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:19:30Z","active":true,"number":2,"service_id":"5xiIQOk8dUOWtSwav38nr2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:19:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4215'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692656.441411,VS0,VE422'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4237' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:19:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115570.434736,VS0,VE595 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml index 482ac14..5c8147e 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml @@ -2,102 +2,195 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:09Z","active":true,"number":4,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:52Z","comment":""}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692667.140800,VS0,VE154'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1150' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115373.671550,VS0,VE229 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false}],"updated_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","created_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}},"active_version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4661'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692667.357441,VS0,VE117'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4915' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115373.014469,VS0,VE465 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/deactivate + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:27 GMT'] - fastly-ratelimit-remaining: ['795'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692668.532096,VS0,VE206'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:14 GMT + fastly-ratelimit-remaining: + - '780' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115374.676857,VS0,VE595 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6 response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:27 GMT'] - fastly-ratelimit-remaining: ['794'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692668.795752,VS0,VE146'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:14 GMT + fastly-ratelimit-remaining: + - '779' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115374.400115,VS0,VE547 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml index 1f954cf..d6bb12e 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml @@ -2,547 +2,1111 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692657.969340,VS0,VE152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:15:48Z","active":true,"number":3,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:15:26Z","comment":""}],"created_at":"2019-04-24T14:15:09Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115351.292708,VS0,VE228 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url - ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url - ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4215'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692657.179226,VS0,VE113'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details + response: + body: + string: !!python/unicode '{"deleted_at":null,"id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:15:09Z","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}},"active_version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:15:48Z","testing":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"weight":100,"hostname":null,"ssl_client_key":null,"max_conn":200,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ipv6":null,"name":"localhost","port":80,"request_condition":"","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[{"ttl":null,"stale_ttl":"0","cache_condition":"","action":null,"name":"cache-settings-config-name"}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"substitution":"","name":"Set + Location header","response_condition":null,"dst":"http.Location","action":"set","regex":"","cache_condition":null,"ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","type":"response","request_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","response":"Ok","cache_condition":"","content_type":"","name":"Set + 200 status code","status":"200"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600}}}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4445' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115352.629955,VS0,VE224 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:17 GMT'] - fastly-ratelimit-remaining: ['809'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692657.351014,VS0,VE213'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/3/clone + response: + body: + string: !!python/unicode '{"comment":"","deployed":false,"number":4,"testing":false,"deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"locked":false,"created_at":"2019-04-24T14:15:26Z","updated_at":"2019-04-24T14:15:48Z","active":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:52 GMT + fastly-ratelimit-remaining: + - '794' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115352.064347,VS0,VE334 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain - response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","created_at":"2018-05-30T15:04:13Z","comment":"","updated_at":"2018-05-30T15:04:13Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692658.623341,VS0,VE385'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/domain + response: + body: + string: !!python/unicode '[{"version":4,"name":"example8000.com","service_id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"created_at":"2019-04-24T14:15:38Z","comment":"","updated_at":"2019-04-24T14:15:52Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115353.504493,VS0,VE495 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/healthcheck - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692658.067959,VS0,VE122'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/healthcheck + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115353.194591,VS0,VE482 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/condition + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115354.809819,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/condition - response: - body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","created_at":"2018-05-30T15:04:14Z","comment":"","statement":"req.url - ~ \"^/robots.txt\"","updated_at":"2018-05-30T15:04:14Z","type":"REQUEST"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['255'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692658.250060,VS0,VE137'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/backend + response: + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:15:52Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:15:39Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115354.400360,VS0,VE195 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend - response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:04:14Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:04:14Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692658.445136,VS0,VE130'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/director + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115355.728552,VS0,VE173 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692659.634094,VS0,VE458'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/cache_settings + response: + body: + string: !!python/unicode '[{"stale_ttl":"0","ttl":null,"version":"4","name":"cache-settings-config-name","service_id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:15:44Z","action":null,"updated_at":"2019-04-24T14:15:52Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '243' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115355.009950,VS0,VE238 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/cache_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692659.151944,VS0,VE166'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/gzip + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115355.436764,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/gzip - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692659.375671,VS0,VE405'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/header + response: + body: + string: !!python/unicode '[{"priority":"100","service_id":"7AG8FgHl3LQBBzv0C8iAS6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:15:52Z","version":"4","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:15:44Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115356.049975,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header - response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"5UWEX3jgaUsS3pS44aBblN","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:04:15Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:04:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692660.837286,VS0,VE431'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/request_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115357.676720,VS0,VE182 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/request_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692660.327635,VS0,VE413'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/response_object + response: + body: + string: !!python/unicode '[{"response":"Ok","status":"200","version":"4","name":"Set + 200 status code","content":"","service_id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:15:45Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:15:52Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115357.091157,VS0,VE183 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object - response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","cache_condition":"","created_at":"2018-05-30T15:04:15Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:04:15Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692661.797949,VS0,VE166'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/snippet + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115357.444971,VS0,VE185 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/snippet - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692661.017115,VS0,VE121'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/logging/s3 + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115358.803421,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/logging/s3 - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692661.197126,VS0,VE134'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/logging/syslog + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115358.408040,VS0,VE486 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/logging/syslog - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692661.391862,VS0,VE127'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:15:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115359.006941,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:21 GMT'] - fastly-ratelimit-remaining: ['808'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692662.576439,VS0,VE161'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/domain/example8000.com + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:00 GMT + fastly-ratelimit-remaining: + - '793' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115360.646492,VS0,VE629 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/condition/condition-name - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:22 GMT'] - fastly-ratelimit-remaining: ['807'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692662.795771,VS0,VE435'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/backend/localhost + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:00 GMT + fastly-ratelimit-remaining: + - '792' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115360.390333,VS0,VE284 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:22 GMT'] - fastly-ratelimit-remaining: ['806'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692662.291247,VS0,VE182'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/cache_settings/cache-settings-config-name + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:01 GMT + fastly-ratelimit-remaining: + - '791' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115361.876726,VS0,VE627 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:22 GMT'] - fastly-ratelimit-remaining: ['805'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692663.535030,VS0,VE217'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/header/Set%20Location%20header + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:02 GMT + fastly-ratelimit-remaining: + - '790' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115362.696318,VS0,VE558 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object/Set%20200%20status%20code - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:23 GMT'] - fastly-ratelimit-remaining: ['804'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692663.813262,VS0,VE441'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/response_object/Set%20200%20status%20code + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:02 GMT + fastly-ratelimit-remaining: + - '789' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115362.403616,VS0,VE586 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain - response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:23Z","updated_at":"2018-05-30T15:04:23Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:23 GMT'] - fastly-ratelimit-remaining: ['803'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692663.314021,VS0,VE519'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/domain + response: + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":4,"deleted_at":null,"created_at":"2019-04-24T14:16:03Z","updated_at":"2019-04-24T14:16:03Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:03 GMT + fastly-ratelimit-remaining: + - '788' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115363.097243,VS0,VE591 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -550,292 +1114,552 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend - response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:23Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:23Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:24 GMT'] - fastly-ratelimit-remaining: ['802'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692664.892308,VS0,VE193'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/backend + response: + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":4,"ssl_client_cert":null,"max_tls_version":null,"min_tls_version":null,"ssl_client_key":null,"use_ssl":false,"ssl_ciphers":null,"override_host":null,"updated_at":"2019-04-24T14:16:04Z","client_cert":null,"ssl_sni_hostname":null,"deleted_at":null,"hostname":null,"created_at":"2019-04-24T14:16:04Z","ipv6":null,"ipv4":"127.0.0.1","auto_loadbalance":false,"comment":"","ssl_check_cert":true}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:04 GMT + fastly-ratelimit-remaining: + - '787' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115364.805402,VS0,VE581 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "retries": 5, "capacity": 100, "shield": null, "name": "client_director", "backends": ["localhost"], "type": 4, "quorum": 75}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director - response: - body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"name":"client_director","backends":[],"type":4,"quorum":75,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:24Z","updated_at":"2018-05-30T15:04:24Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['255'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:24 GMT'] - fastly-ratelimit-remaining: ['801'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692664.146778,VS0,VE158'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/director + response: + body: + string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"name":"client_director","backends":[],"type":4,"quorum":75,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":4,"deleted_at":null,"created_at":"2019-04-24T14:16:05Z","updated_at":"2019-04-24T14:16:05Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '255' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:05 GMT + fastly-ratelimit-remaining: + - '786' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115365.581525,VS0,VE581 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director/client_director/backend/localhost - response: - body: {string: !!python/unicode '{"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-30T15:04:24Z","deleted_at":null,"updated_at":"2018-05-30T15:04:24Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['202'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:24 GMT'] - fastly-ratelimit-remaining: ['800'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692664.365814,VS0,VE435'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/director/client_director/backend/localhost + response: + body: + string: !!python/unicode '{"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":4,"director_name":"client_director","backend_name":"localhost","created_at":"2019-04-24T14:16:05Z","updated_at":"2019-04-24T14:16:05Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '202' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:05 GMT + fastly-ratelimit-remaining: + - '785' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115365.382711,VS0,VE562 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header - response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":"3","updated_at":"2018-05-30T15:04:24Z","deleted_at":null,"created_at":"2018-05-30T15:04:24Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:25 GMT'] - fastly-ratelimit-remaining: ['799'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692665.862890,VS0,VE201'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/header + response: + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"4","updated_at":"2019-04-24T14:16:06Z","deleted_at":null,"created_at":"2019-04-24T14:16:06Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:06 GMT + fastly-ratelimit-remaining: + - '784' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115366.060551,VS0,VE553 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object - response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:25Z","updated_at":"2018-05-30T15:04:25Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:25 GMT'] - fastly-ratelimit-remaining: ['798'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692665.120248,VS0,VE171'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/response_object + response: + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7AG8FgHl3LQBBzv0C8iAS6","version":"4","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:16:07Z","updated_at":"2019-04-24T14:16:07Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:07 GMT + fastly-ratelimit-remaining: + - '783' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115367.749950,VS0,VE555 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/settings - response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5UWEX3jgaUsS3pS44aBblN"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:25 GMT'] - fastly-ratelimit-remaining: ['797'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692665.353831,VS0,VE229'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/settings + response: + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"7AG8FgHl3LQBBzv0C8iAS6"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:08 GMT + fastly-ratelimit-remaining: + - '782' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115368.510349,VS0,VE524 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/activate - response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:25Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:26 GMT'] - fastly-ratelimit-remaining: ['796'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692666.640743,VS0,VE599'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/version/4/activate + response: + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:07Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:10 GMT + fastly-ratelimit-remaining: + - '781' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115368.250708,VS0,VE1761 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4661'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692666.298915,VS0,VE196'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details + response: + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false}],"updated_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","created_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}},"active_version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4915' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115370.197256,VS0,VE547 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692667.558255,VS0,VE151'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"deployed":false,"number":1,"testing":false,"comment":"","service_id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"staging":false,"locked":false,"updated_at":"2019-04-24T14:15:09Z","created_at":"2019-04-24T14:15:09Z","active":false},{"active":false,"locked":true,"created_at":"2019-04-24T14:15:10Z","service_id":"7AG8FgHl3LQBBzv0C8iAS6","updated_at":"2019-04-24T14:15:48Z","staging":false,"comment":"","testing":false,"number":2,"deployed":false,"deleted_at":null},{"testing":false,"deployed":false,"number":3,"comment":"","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"locked":true,"updated_at":"2019-04-24T14:16:09Z","created_at":"2019-04-24T14:15:26Z","active":false},{"locked":true,"active":true,"number":4,"deployed":false,"updated_at":"2019-04-24T14:16:09Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:15:52Z","service_id":"7AG8FgHl3LQBBzv0C8iAS6","comment":"","staging":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","deleted_at":null,"id":"7AG8FgHl3LQBBzv0C8iAS6","created_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:15:09Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1150' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115371.865011,VS0,VE543 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4661'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692667.764566,VS0,VE121'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details + response: + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false}],"updated_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","created_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}},"active_version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4915' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115372.626619,VS0,VE508 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4661'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692667.944719,VS0,VE117'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/7AG8FgHl3LQBBzv0C8iAS6/details + response: + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:10Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:15:48Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:26Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:09Z","deployed":false}],"updated_at":"2019-04-24T14:15:09Z","name":"Fastly + Ansible Module Test","created_at":"2019-04-24T14:15:09Z","id":"7AG8FgHl3LQBBzv0C8iAS6","deleted_at":null,"version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}},"active_version":{"created_at":"2019-04-24T14:15:52Z","deleted_at":null,"service_id":"7AG8FgHl3LQBBzv0C8iAS6","staging":false,"comment":"","active":true,"locked":true,"deployed":false,"number":4,"updated_at":"2019-04-24T14:16:09Z","testing":false,"acls":[],"backends":[{"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"ssl_hostname":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"ssl_ciphers":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_client_key":null,"max_conn":200,"hostname":null,"healthcheck":null,"ssl_sni_hostname":null,"auto_loadbalance":false,"shield":null,"comment":"","first_byte_timeout":15000,"ipv4":"127.0.0.1","error_threshold":0,"port":80,"request_condition":"","ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"address":"127.0.0.1","ssl_ca_cert":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"capacity":100,"location":null,"comment":"","retries":5,"type":4,"quorum":75,"name":"client_director","updated_at":"2019-04-24T14:16:05Z","deleted_at":null,"created_at":"2019-04-24T14:16:05Z","backends":["localhost"]}],"domains":[{"name":"example8000.com","comment":""}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","cache_condition":null,"regex":"","action":"set","ignore_if_set":"0","name":"Set + Location header","response_condition":null,"dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"response":"Ok","cache_condition":"","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4915' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115372.249748,VS0,VE166 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml index bf0f0a6..d40fcb5 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml @@ -2,107 +2,199 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":""}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:01Z","active":true,"number":3,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:44Z","comment":""}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:23 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692784.659291,VS0,VE148'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115242.186294,VS0,VE246 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:01Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:44Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:01Z","deployed":false}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:01Z","active":true,"number":3,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:44Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2019-04-24T14:13:57Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2019-04-24T14:13:57Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:01Z","active":true,"number":3,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:44Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2019-04-24T14:13:57Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2019-04-24T14:13:57Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4443'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:23 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692784.856965,VS0,VE124'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4697' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115243.534618,VS0,VE516 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/deactivate + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:44Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:01Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:24 GMT'] - fastly-ratelimit-remaining: ['674'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692784.039456,VS0,VE208'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:03 GMT + fastly-ratelimit-remaining: + - '850' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115243.215700,VS0,VE586 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:24 GMT'] - fastly-ratelimit-remaining: ['673'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692784.298347,VS0,VE176'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:04 GMT + fastly-ratelimit-remaining: + - '849' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115244.913346,VS0,VE533 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml index 64cbb86..23c2647 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml @@ -2,440 +2,1064 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:15 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692775.219383,VS0,VE369'] - status: {code: 404, message: Not Found} -- request: - body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":""}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp"}' headers: - Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service - response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"a90b52bba26e24af7fcf8627853ff235c726d2bd","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:16 GMT'] - fastly-ratelimit-remaining: ['683'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692776.645068,VS0,VE474'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115223.771615,VS0,VE249 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:16Z","active":false,"number":1,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692776.176418,VS0,VE265'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"created_at":"2019-04-24T14:13:24Z","updated_at":"2019-04-24T14:13:24Z","service_id":"6oPY6z1TgYKqsSybUUN3lp","locked":false,"active":false,"deleted_at":null,"comment":"","testing":false,"number":1,"deployed":false,"staging":false},{"staging":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deleted_at":null,"comment":"","deployed":false,"testing":false,"number":2,"active":true,"created_at":"2019-04-24T14:13:25Z","updated_at":"2019-04-24T14:13:39Z","locked":true}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115223.152926,VS0,VE180 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/1/clone + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:17 GMT'] - fastly-ratelimit-remaining: ['682'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692776.497745,VS0,VE518'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:39Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:44 GMT + fastly-ratelimit-remaining: + - '862' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19137-FRA + x-timer: + - S1556115224.564625,VS0,VE600 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/domain + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692777.071257,VS0,VE393'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":3,"name":"example8000.com","service_id":"6oPY6z1TgYKqsSybUUN3lp","deleted_at":null,"created_at":"2019-04-24T14:13:35Z","comment":"","updated_at":"2019-04-24T14:13:44Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115224.278215,VS0,VE531 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/healthcheck + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692778.522078,VS0,VE142'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115225.977371,VS0,VE486 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/condition + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115226.603629,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/condition + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692778.720844,VS0,VE464'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:13:44Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"6oPY6z1TgYKqsSybUUN3lp","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:13:36Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19131-FRA + x-timer: + - S1556115226.232449,VS0,VE508 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/backend + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692778.240967,VS0,VE133'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115227.849179,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/director + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692778.429708,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115227.248886,VS0,VE182 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/cache_settings + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692779.596253,VS0,VE406'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115228.603610,VS0,VE498 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/gzip + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692779.051940,VS0,VE170'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"request_condition":null,"version":"3","cache_condition":null,"regex":"","ignore_if_set":"0","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"100","updated_at":"2019-04-24T14:13:44Z","substitution":"","dst":"http.Location","type":"response","service_id":"6oPY6z1TgYKqsSybUUN3lp","action":"set","created_at":"2019-04-24T14:13:36Z","deleted_at":null,"response_condition":null,"name":"Set + Location header"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115228.271072,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/header + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692779.279808,VS0,VE173'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115229.983513,VS0,VE537 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/request_settings + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692780.511152,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"200","version":"3","name":"Set + 200 status code","content":"Hello from Fastly","service_id":"6oPY6z1TgYKqsSybUUN3lp","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:13:37Z","content_type":"text/plain","request_condition":"","updated_at":"2019-04-24T14:13:44Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '307' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115230.705963,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/response_object + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692780.684321,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19166-FRA + x-timer: + - S1556115230.311852,VS0,VE540 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/snippet + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692780.859498,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115231.985517,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/logging/s3 + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692780.039945,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115232.622230,VS0,VE194 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/logging/syslog + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19137-FRA + x-timer: + - S1556115232.958006,VS0,VE495 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/domain/example8000.com + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:53 GMT + fastly-ratelimit-remaining: + - '861' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19165-FRA + x-timer: + - S1556115233.577923,VS0,VE584 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/backend/localhost + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:53 GMT + fastly-ratelimit-remaining: + - '860' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115233.366248,VS0,VE590 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/header/Set%20Location%20header + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:54 GMT + fastly-ratelimit-remaining: + - '859' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115234.103403,VS0,VE578 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/response_object/Set%20200%20status%20code response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692780.219974,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:55 GMT + fastly-ratelimit-remaining: + - '858' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19131-FRA + x-timer: + - S1556115235.797811,VS0,VE665 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/domain + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7mtnIbJIoFC6KgteIPornU","version":2,"deleted_at":null,"created_at":"2018-05-30T15:06:20Z","updated_at":"2018-05-30T15:06:20Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:20 GMT'] - fastly-ratelimit-remaining: ['681'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692780.391544,VS0,VE505'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6oPY6z1TgYKqsSybUUN3lp","version":3,"updated_at":"2019-04-24T14:13:56Z","created_at":"2019-04-24T14:13:56Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:56 GMT + fastly-ratelimit-remaining: + - '857' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115236.643629,VS0,VE592 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -443,192 +1067,354 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/backend + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7mtnIbJIoFC6KgteIPornU","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:06:21Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:06:21Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:21 GMT'] - fastly-ratelimit-remaining: ['680'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692781.955991,VS0,VE181'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6oPY6z1TgYKqsSybUUN3lp","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:13:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:13:56Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:56 GMT + fastly-ratelimit-remaining: + - '856' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115236.353521,VS0,VE585 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"content_types": "text/html text/css application/javascript", "extensions": "html css js", "name": "gzip-config-name", "cache_condition": ""}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/gzip + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/gzip response: - body: {string: !!python/unicode '{"content_types":"text/html text/css application/javascript","extensions":"html - css js","name":"gzip-config-name","cache_condition":"","service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","deleted_at":null,"created_at":"2018-05-30T15:06:21Z","updated_at":"2018-05-30T15:06:21Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['277'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:21 GMT'] - fastly-ratelimit-remaining: ['679'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692781.187883,VS0,VE205'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"content_types":"text/html text/css application/javascript","extensions":"html + css js","name":"gzip-config-name","cache_condition":"","service_id":"6oPY6z1TgYKqsSybUUN3lp","version":"3","deleted_at":null,"created_at":"2019-04-24T14:13:57Z","updated_at":"2019-04-24T14:13:57Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '277' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:57 GMT + fastly-ratelimit-remaining: + - '855' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115237.082101,VS0,VE250 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/header + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","updated_at":"2018-05-30T15:06:21Z","deleted_at":null,"created_at":"2018-05-30T15:06:21Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:21 GMT'] - fastly-ratelimit-remaining: ['678'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692781.461428,VS0,VE454'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6oPY6z1TgYKqsSybUUN3lp","version":"3","updated_at":"2019-04-24T14:13:57Z","deleted_at":null,"created_at":"2019-04-24T14:13:57Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:57 GMT + fastly-ratelimit-remaining: + - '854' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115237.432551,VS0,VE546 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/response_object + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:22Z","updated_at":"2018-05-30T15:06:22Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:22 GMT'] - fastly-ratelimit-remaining: ['677'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692782.966060,VS0,VE169'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6oPY6z1TgYKqsSybUUN3lp","version":"3","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:13:58Z","updated_at":"2019-04-24T14:13:58Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:58 GMT + fastly-ratelimit-remaining: + - '853' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115238.093906,VS0,VE599 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/settings + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7mtnIbJIoFC6KgteIPornU"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:22 GMT'] - fastly-ratelimit-remaining: ['676'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692782.184395,VS0,VE468'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"6oPY6z1TgYKqsSybUUN3lp"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:59 GMT + fastly-ratelimit-remaining: + - '852' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115239.917933,VS0,VE542 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/activate + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:22Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:23 GMT'] - fastly-ratelimit-remaining: ['675'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692783.703047,VS0,VE682'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:44Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:58Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:01 GMT + fastly-ratelimit-remaining: + - '851' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115240.569450,VS0,VE1628 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:01Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:44Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:01Z","deployed":false}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:01Z","active":true,"number":3,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:44Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2019-04-24T14:13:57Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2019-04-24T14:13:57Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:01Z","active":true,"number":3,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:44Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2019-04-24T14:13:57Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2019-04-24T14:13:57Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4443'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:23 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692783.435975,VS0,VE158'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4697' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115241.373176,VS0,VE567 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml index 964322b..5c693d3 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml @@ -2,103 +2,195 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","updated_at":"2019-04-24T14:14:05Z","deleted_at":null,"id":"5V6vazrUhK7HI2JI8EofjW","created_at":"2019-04-24T14:14:05Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"locked":false,"created_at":"2019-04-24T14:14:05Z","service_id":"5V6vazrUhK7HI2JI8EofjW","updated_at":"2019-04-24T14:14:05Z","active":false,"comment":"","deployed":false,"testing":false,"number":1,"deleted_at":null,"staging":false},{"service_id":"5V6vazrUhK7HI2JI8EofjW","deleted_at":null,"created_at":"2019-04-24T14:14:06Z","staging":false,"comment":"","deployed":false,"number":2,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:14:21Z"}]}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692700.599061,VS0,VE176'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115265.515091,VS0,VE240 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:05Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:06Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:21Z","deployed":false}],"created_at":"2019-04-24T14:14:05Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:05Z","id":"5V6vazrUhK7HI2JI8EofjW","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4697'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692700.835256,VS0,VE152'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4467' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115265.857480,VS0,VE175 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/deactivate + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}'} + body: + string: !!python/unicode '{"deleted_at":null,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"number":2,"testing":false,"comment":"","staging":false,"updated_at":"2019-04-24T14:14:21Z","created_at":"2019-04-24T14:14:06Z","locked":true,"active":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:00 GMT'] - fastly-ratelimit-remaining: ['763'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692700.044931,VS0,VE477'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:25 GMT + fastly-ratelimit-remaining: + - '839' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115265.233063,VS0,VE567 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:01 GMT'] - fastly-ratelimit-remaining: ['762'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692701.580814,VS0,VE434'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:26 GMT + fastly-ratelimit-remaining: + - '838' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115266.890502,VS0,VE541 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml index a880b6e..da3c816 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml @@ -2,545 +2,966 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692688.878290,VS0,VE410'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692688.345709,VS0,VE431'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:04 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115245.669464,VS0,VE176 + status: + code: 404 + message: Not Found - request: - body: null + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/clone + Content-Type: + - application/json + method: POST + uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:49 GMT'] - fastly-ratelimit-remaining: ['775'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692689.832884,VS0,VE500'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"4fec753064de55e11e68995bdd8397759165f886","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:05Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:05Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:14:05Z","comment":"","updated_at":"2019-04-24T14:14:05Z","id":"5V6vazrUhK7HI2JI8EofjW"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:05 GMT + fastly-ratelimit-remaining: + - '848' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115245.062470,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/details response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","created_at":"2018-05-30T15:04:44Z","comment":"","updated_at":"2018-05-30T15:04:44Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692689.392528,VS0,VE426'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"updated_at":"2019-04-24T14:14:05Z","service_id":"5V6vazrUhK7HI2JI8EofjW","created_at":"2019-04-24T14:14:05Z","staging":false,"testing":false,"deployed":false,"number":1,"comment":"","deleted_at":null}],"created_at":"2019-04-24T14:14:05Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:05Z","id":"5V6vazrUhK7HI2JI8EofjW","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:05Z","active":false,"number":1,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:14:05Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115246.712773,VS0,VE254 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/healthcheck + Content-Type: + - application/json + method: PUT + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/1/clone response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692690.878806,VS0,VE131'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"service_id":"5V6vazrUhK7HI2JI8EofjW","deleted_at":null,"deployed":false,"testing":false,"number":2,"comment":"","staging":false,"updated_at":"2019-04-24T14:14:05Z","created_at":"2019-04-24T14:14:05Z","locked":false,"active":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:06 GMT + fastly-ratelimit-remaining: + - '847' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115246.178602,VS0,VE647 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/condition + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692690.067049,VS0,VE133'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19127-FRA + x-timer: + - S1556115247.933128,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/healthcheck response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:04:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:04:45Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692690.260332,VS0,VE136'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115248.951676,VS0,VE477 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/director + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692690.454041,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115249.643629,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/cache_settings + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692691.631319,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19175-FRA + x-timer: + - S1556115249.358720,VS0,VE502 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/gzip + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692691.810102,VS0,VE385'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115250.084619,VS0,VE502 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/cache_settings response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"61gZVpISLDZRhPdKKv5Imc","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:04:45Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:04:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692691.254472,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556115251.795709,VS0,VE531 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/request_settings + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692691.431455,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115251.494161,VS0,VE193 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/header response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","cache_condition":"","created_at":"2018-05-30T15:04:45Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:04:45Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692692.612056,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115252.830165,VS0,VE486 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/snippet + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692692.798469,VS0,VE389'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115253.528098,VS0,VE532 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/logging/s3 + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692692.253938,VS0,VE410'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115253.181239,VS0,VE180 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/logging/syslog + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692693.722377,VS0,VE122'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '[]' headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:53 GMT'] - fastly-ratelimit-remaining: ['774'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692693.902050,VS0,VE437'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:14 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115254.564375,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend/localhost + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/logging/s3 response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:53 GMT'] - fastly-ratelimit-remaining: ['773'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692693.396814,VS0,VE592'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:14 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115254.284141,VS0,VE481 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header/Set%20Location%20header + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/logging/syslog response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:54 GMT'] - fastly-ratelimit-remaining: ['772'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692694.047872,VS0,VE235'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19137-FRA + x-timer: + - S1556115255.869402,VS0,VE189 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object/Set%20200%20status%20code + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/logging/cloudfiles response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:54 GMT'] - fastly-ratelimit-remaining: ['771'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692694.341331,VS0,VE540'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115255.179299,VS0,VE490 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:55Z","updated_at":"2018-05-30T15:04:55Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:55 GMT'] - fastly-ratelimit-remaining: ['770'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692695.943287,VS0,VE252'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5V6vazrUhK7HI2JI8EofjW","version":2,"deleted_at":null,"created_at":"2019-04-24T14:14:16Z","updated_at":"2019-04-24T14:14:16Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:16 GMT + fastly-ratelimit-remaining: + - '846' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19156-FRA + x-timer: + - S1556115256.789403,VS0,VE608 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "check_interval": 15000, "name": "test_healthcheck", - "http_version": "1.1", "initial": 4, "host": "example8000.com", "window": 5, - "expected_response": 200, "timeout": 5000, "threshold": 3, "path": "/healthcheck", - "method": "GET"}' + "http_version": "1.1", "initial": 4, "host": "example8000.com", "window": 5, "expected_response": + 200, "timeout": 5000, "threshold": 3, "path": "/healthcheck", "method": "GET"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/healthcheck + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/healthcheck response: - body: {string: !!python/unicode '{"comment":"","check_interval":15000,"name":"test_healthcheck","http_version":"1.1","initial":4,"host":"example8000.com","window":5,"expected_response":200,"timeout":5000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"updated_at":"2018-05-30T15:04:55Z","deleted_at":null,"created_at":"2018-05-30T15:04:55Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['362'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:55 GMT'] - fastly-ratelimit-remaining: ['769'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692695.255293,VS0,VE460'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","check_interval":15000,"name":"test_healthcheck","http_version":"1.1","initial":4,"host":"example8000.com","window":5,"expected_response":200,"timeout":5000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"5V6vazrUhK7HI2JI8EofjW","version":2,"updated_at":"2019-04-24T14:14:16Z","deleted_at":null,"created_at":"2019-04-24T14:14:16Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '352' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:17 GMT + fastly-ratelimit-remaining: + - '845' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115257.509671,VS0,VE586 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": "test_healthcheck", "first_byte_timeout": @@ -548,238 +969,448 @@ interactions: "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:56Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['730'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:56 GMT'] - fastly-ratelimit-remaining: ['768'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692696.774427,VS0,VE533'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5V6vazrUhK7HI2JI8EofjW","version":2,"ipv6":null,"deleted_at":null,"ssl_sni_hostname":null,"hostname":null,"created_at":"2019-04-24T14:14:17Z","client_cert":null,"ssl_check_cert":true,"ipv4":"127.0.0.1","auto_loadbalance":false,"comment":"","use_ssl":false,"ssl_ciphers":null,"ssl_client_key":null,"min_tls_version":null,"max_tls_version":null,"ssl_client_cert":null,"override_host":null,"updated_at":"2019-04-24T14:14:17Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '751' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:17 GMT + fastly-ratelimit-remaining: + - '844' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115257.249172,VS0,VE601 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":"3","updated_at":"2018-05-30T15:04:56Z","deleted_at":null,"created_at":"2018-05-30T15:04:56Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:56 GMT'] - fastly-ratelimit-remaining: ['767'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692696.368191,VS0,VE435'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5V6vazrUhK7HI2JI8EofjW","version":"2","updated_at":"2019-04-24T14:14:18Z","deleted_at":null,"created_at":"2019-04-24T14:14:18Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:18 GMT + fastly-ratelimit-remaining: + - '843' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19175-FRA + x-timer: + - S1556115258.066450,VS0,VE598 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"61gZVpISLDZRhPdKKv5Imc","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:57Z","updated_at":"2018-05-30T15:04:57Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:57 GMT'] - fastly-ratelimit-remaining: ['766'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692697.862568,VS0,VE412'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5V6vazrUhK7HI2JI8EofjW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:14:19Z","updated_at":"2019-04-24T14:14:19Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:19 GMT + fastly-ratelimit-remaining: + - '842' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19156-FRA + x-timer: + - S1556115259.779319,VS0,VE602 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/settings + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"61gZVpISLDZRhPdKKv5Imc"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:57 GMT'] - fastly-ratelimit-remaining: ['765'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692697.336540,VS0,VE173'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5V6vazrUhK7HI2JI8EofjW"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:20 GMT + fastly-ratelimit-remaining: + - '841' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115259.497617,VS0,VE521 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/activate + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:57Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:58 GMT'] - fastly-ratelimit-remaining: ['764'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692698.568067,VS0,VE1148'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"number":2,"testing":false,"deployed":false,"comment":"","deleted_at":null,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"locked":true,"updated_at":"2019-04-24T14:14:19Z","created_at":"2019-04-24T14:14:06Z","active":true,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:21 GMT + fastly-ratelimit-remaining: + - '840' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115260.216350,VS0,VE1586 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:05Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:06Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:21Z","deployed":false}],"created_at":"2019-04-24T14:14:05Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:05Z","id":"5V6vazrUhK7HI2JI8EofjW","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4697'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692699.774381,VS0,VE145'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4467' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115262.964584,VS0,VE548 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692699.979197,VS0,VE139'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","updated_at":"2019-04-24T14:14:05Z","deleted_at":null,"id":"5V6vazrUhK7HI2JI8EofjW","created_at":"2019-04-24T14:14:05Z","comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"locked":false,"created_at":"2019-04-24T14:14:05Z","updated_at":"2019-04-24T14:14:05Z","service_id":"5V6vazrUhK7HI2JI8EofjW","active":false,"comment":"","testing":false,"number":1,"deployed":false,"deleted_at":null,"staging":false},{"comment":"","staging":false,"service_id":"5V6vazrUhK7HI2JI8EofjW","deleted_at":null,"created_at":"2019-04-24T14:14:06Z","testing":false,"updated_at":"2019-04-24T14:14:21Z","number":2,"deployed":false,"locked":true,"active":true}]}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556115263.674135,VS0,VE539 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:05Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:06Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:21Z","deployed":false}],"created_at":"2019-04-24T14:14:05Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:05Z","id":"5V6vazrUhK7HI2JI8EofjW","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4697'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692699.178082,VS0,VE167'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4467' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115263.363859,VS0,VE516 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/5V6vazrUhK7HI2JI8EofjW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:05Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5V6vazrUhK7HI2JI8EofjW","staging":false,"created_at":"2019-04-24T14:14:06Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:21Z","deployed":false}],"created_at":"2019-04-24T14:14:05Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:05Z","id":"5V6vazrUhK7HI2JI8EofjW","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:21Z","active":true,"number":2,"service_id":"5V6vazrUhK7HI2JI8EofjW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4697'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692699.400940,VS0,VE119'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4467' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115264.006780,VS0,VE191 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml index 3069b0b..ee5bde2 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml @@ -2,104 +2,200 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:17Z","active":true,"number":3,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:00Z","comment":""}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1150'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692521.792405,VS0,VE146'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19176-FRA + x-timer: + - S1556115441.759150,VS0,VE567 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]}}'} + body: + string: !!python/unicode '{"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:17:00Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","deleted_at":null,"id":"2KeMyRfhNiZvFvarw6FJyG","created_at":"2019-04-24T14:16:38Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:16:38Z","version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]},"active_version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5409'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692521.997486,VS0,VE126'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5201' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19178-FRA + x-timer: + - S1556115441.463281,VS0,VE219 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/deactivate + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:17:00Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:01 GMT'] - fastly-ratelimit-remaining: ['954'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692521.183180,VS0,VE463'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:22 GMT + fastly-ratelimit-remaining: + - '748' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115442.874002,VS0,VE648 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85 + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:02 GMT'] - fastly-ratelimit-remaining: ['953'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692522.696797,VS0,VE467'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:23 GMT + fastly-ratelimit-remaining: + - '747' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115443.697913,VS0,VE582 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml index 711e7bf..3082c6f 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml @@ -2,543 +2,1063 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692509.016414,VS0,VE141'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":""}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115419.732664,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:56Z","deployed":false}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4423'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692509.215643,VS0,VE418'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115419.448979,VS0,VE476 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:50 GMT'] - fastly-ratelimit-remaining: ['967'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692510.713542,VS0,VE508'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/clone + response: + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:56Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:00 GMT + fastly-ratelimit-remaining: + - '760' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115420.065414,VS0,VE602 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain - response: - body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","created_at":"2018-05-30T15:01:44Z","comment":"","updated_at":"2018-05-30T15:01:44Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692510.272615,VS0,VE124'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/domain + response: + body: + string: !!python/unicode '[{"version":3,"name":"example8000.com","service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:16:51Z","comment":"","updated_at":"2019-04-24T14:17:00Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115421.885521,VS0,VE481 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/healthcheck - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692510.456501,VS0,VE169'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/healthcheck + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115422.510464,VS0,VE481 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/condition - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692511.678434,VS0,VE121'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/condition + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115422.210204,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend - response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:01:44Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:01:44Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692511.847523,VS0,VE171'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/backend + response: + body: + string: !!python/unicode '[{"deleted_at":null,"ssl_sni_hostname":null,"hostname":null,"created_at":"2019-04-24T14:16:52Z","ipv6":null,"name":"localhost","client_cert":null,"ssl_hostname":null,"service_id":"2KeMyRfhNiZvFvarw6FJyG","weight":100,"address":"127.0.0.1","ssl_ca_cert":null,"ssl_check_cert":true,"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"comment":"","healthcheck":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"ssl_ciphers":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"ssl_cert_hostname":null,"override_host":null,"updated_at":"2019-04-24T14:17:00Z","request_condition":"","version":3,"port":80,"first_byte_timeout":15000}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115423.979093,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/director - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692511.066773,VS0,VE434'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/director + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115424.650168,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/cache_settings - response: - body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:45Z","action":null,"updated_at":"2018-05-30T15:01:45Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['243'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692512.554047,VS0,VE411'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/cache_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115424.956627,VS0,VE177 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/gzip - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692512.024789,VS0,VE172'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/gzip + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115424.255487,VS0,VE474 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header - response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2Yozki6zPwppbu2BgGnY85","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:01:45Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:01:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692512.253476,VS0,VE135'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/header + response: + body: + string: !!python/unicode '[{"priority":"100","service_id":"2KeMyRfhNiZvFvarw6FJyG","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:17:00Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:16:53Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115425.860239,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/request_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692512.445898,VS0,VE167'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/request_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115425.489840,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object - response: - body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:46Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:01:46Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692513.672167,VS0,VE130'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/response_object + response: + body: + string: !!python/unicode '[{"response":"Ok","status":"200","version":"3","name":"Set + 200 status code","content":"","service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:16:53Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:17:00Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115426.093801,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/snippet - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692513.859298,VS0,VE121'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/snippet + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115427.717616,VS0,VE475 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/s3 - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692513.037581,VS0,VE462'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/logging/s3 + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115427.326794,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/syslog - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692514.558308,VS0,VE130'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/logging/syslog + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115428.928186,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:54 GMT'] - fastly-ratelimit-remaining: ['966'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692514.747497,VS0,VE564'] - status: {code: 200, message: OK} + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115429.559582,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:54 GMT'] - fastly-ratelimit-remaining: ['965'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692514.370065,VS0,VE502'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/domain/example8000.com + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:09 GMT + fastly-ratelimit-remaining: + - '759' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115429.283663,VS0,VE596 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/cache_settings/cache-settings-config-name - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:55 GMT'] - fastly-ratelimit-remaining: ['964'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692515.932762,VS0,VE437'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/backend/localhost + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:10 GMT + fastly-ratelimit-remaining: + - '758' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115430.073359,VS0,VE588 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:55 GMT'] - fastly-ratelimit-remaining: ['963'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692515.427189,VS0,VE161'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/header/Set%20Location%20header + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:11 GMT + fastly-ratelimit-remaining: + - '757' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115431.813967,VS0,VE562 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object/Set%20200%20status%20code - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:55 GMT'] - fastly-ratelimit-remaining: ['962'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692516.647197,VS0,VE160'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/response_object/Set%20200%20status%20code + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:12 GMT + fastly-ratelimit-remaining: + - '756' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115432.530373,VS0,VE576 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain - response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":4,"deleted_at":null,"created_at":"2018-05-30T15:01:55Z","updated_at":"2018-05-30T15:01:55Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:56 GMT'] - fastly-ratelimit-remaining: ['961'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692516.866679,VS0,VE205'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/domain + response: + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2KeMyRfhNiZvFvarw6FJyG","version":3,"updated_at":"2019-04-24T14:17:12Z","created_at":"2019-04-24T14:17:12Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:12 GMT + fastly-ratelimit-remaining: + - '755' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115432.249643,VS0,VE567 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -546,277 +1066,516 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend - response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:56Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:56 GMT'] - fastly-ratelimit-remaining: ['960'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692516.131287,VS0,VE468'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/backend + response: + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2KeMyRfhNiZvFvarw6FJyG","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:17:13Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:17:13Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:13 GMT + fastly-ratelimit-remaining: + - '754' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115433.939822,VS0,VE602 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header - response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","updated_at":"2018-05-30T15:01:57Z","deleted_at":null,"created_at":"2018-05-30T15:01:57Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:57 GMT'] - fastly-ratelimit-remaining: ['959'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692517.657954,VS0,VE454'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/header + response: + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2KeMyRfhNiZvFvarw6FJyG","version":"3","updated_at":"2019-04-24T14:17:14Z","deleted_at":null,"created_at":"2019-04-24T14:17:14Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:14 GMT + fastly-ratelimit-remaining: + - '753' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115434.680770,VS0,VE566 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object - response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:57Z","updated_at":"2018-05-30T15:01:57Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:57 GMT'] - fastly-ratelimit-remaining: ['958'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692517.172295,VS0,VE420'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"access_key": "ACCESS_KEY", "domain": "example8000.com", - "redundancy": "standard", "placement": null, "name": "test_s3", "format_version": - 2, "format": "%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %>s %b", "server_side_encryption_kms_key_id": + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/response_object + response: + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2KeMyRfhNiZvFvarw6FJyG","version":"3","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:17:14Z","updated_at":"2019-04-24T14:17:14Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:14 GMT + fastly-ratelimit-remaining: + - '752' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115434.367575,VS0,VE261 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '{"access_key": "ACCESS_KEY", "domain": "example8000.com", "redundancy": + "standard", "placement": null, "name": "test_s3", "format_version": 2, "format": + "%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %>s %b", "server_side_encryption_kms_key_id": null, "period": 60, "bucket_name": "prod-fastly-logs", "gzip_level": 0, "path": "/", "secret_key": "SECRET", "message_type": "classic", "server_side_encryption": null, "timestamp_format": "%Y-%m-%dT%H:%M:%S.000", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/s3 - response: - body: {string: !!python/unicode '{"access_key":"ACCESS_KEY","domain":"example8000.com","redundancy":"standard","placement":null,"name":"test_s3","format_version":"2","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","gzip_level":"0","path":"/","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","public_key":null,"updated_at":"2018-05-30T15:01:58Z","deleted_at":null,"created_at":"2018-05-30T15:01:58Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['609'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:58 GMT'] - fastly-ratelimit-remaining: ['957'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692518.651707,VS0,VE434'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/logging/s3 + response: + body: + string: !!python/unicode '{"access_key":"ACCESS_KEY","domain":"example8000.com","redundancy":"standard","placement":null,"name":"test_s3","format_version":"2","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":60,"bucket_name":"prod-fastly-logs","gzip_level":0,"path":"/","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2KeMyRfhNiZvFvarw6FJyG","version":"3","acl":null,"deleted_at":null,"updated_at":"2019-04-24T14:17:15Z","public_key":null,"created_at":"2019-04-24T14:17:15Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '606' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:15 GMT + fastly-ratelimit-remaining: + - '751' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19139-FRA + x-timer: + - S1556115435.805781,VS0,VE853 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/settings - response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:58 GMT'] - fastly-ratelimit-remaining: ['956'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692518.145147,VS0,VE482'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/settings + response: + body: + string: !!python/unicode '{"version":3,"general.default_host":"","general.stale_if_error_ttl":43200,"general.stale_if_error":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","general.default_pci":0,"general.default_ttl":3600}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:16 GMT + fastly-ratelimit-remaining: + - '750' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19164-FRA + x-timer: + - S1556115436.763557,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/activate - response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:58Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:01:59 GMT'] - fastly-ratelimit-remaining: ['955'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692519.688253,VS0,VE903'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/3/activate + response: + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:17:00Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:15Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:17 GMT + fastly-ratelimit-remaining: + - '749' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19140-FRA + x-timer: + - S1556115436.448702,VS0,VE1528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5409'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692520.647859,VS0,VE448'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:17:00Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","deleted_at":null,"id":"2KeMyRfhNiZvFvarw6FJyG","created_at":"2019-04-24T14:16:38Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:16:38Z","version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]},"active_version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5201' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19164-FRA + x-timer: + - S1556115438.194523,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1150'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692520.153395,VS0,VE155'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:17Z","active":true,"number":3,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:00Z","comment":""}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19139-FRA + x-timer: + - S1556115439.906414,VS0,VE604 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5409'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692520.365676,VS0,VE167'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:17:00Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","deleted_at":null,"id":"2KeMyRfhNiZvFvarw6FJyG","created_at":"2019-04-24T14:16:38Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:16:38Z","version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]},"active_version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5201' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115440.731180,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5409'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692521.585998,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:17:00Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:17Z","deployed":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","deleted_at":null,"id":"2KeMyRfhNiZvFvarw6FJyG","created_at":"2019-04-24T14:16:38Z","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:16:38Z","version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]},"active_version":{"service_id":"2KeMyRfhNiZvFvarw6FJyG","deleted_at":null,"created_at":"2019-04-24T14:17:00Z","staging":false,"comment":"","number":3,"deployed":false,"active":true,"locked":true,"testing":false,"updated_at":"2019-04-24T14:17:17Z","acls":[],"backends":[{"ssl_ciphers":null,"use_ssl":false,"name":"localhost","ipv6":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_sni_hostname":null,"connect_timeout":1000,"max_tls_version":null,"weight":100,"min_tls_version":null,"ssl_hostname":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_check_cert":true,"override_host":null,"ssl_cert_hostname":null,"ssl_ca_cert":null,"address":"127.0.0.1","first_byte_timeout":15000,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","port":80,"request_condition":""}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"type":"response","request_condition":null,"substitution":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","ignore_if_set":"0","regex":"","cache_condition":null,"action":"set","priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path"}],"healthchecks":[],"request_settings":[],"response_objects":[{"cache_condition":"","response":"Ok","content_type":"","content":"","request_condition":"","status":"200","name":"Set + 200 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""},"s3s":[{"secret_key":"SECRET","bucket_name":"prod-fastly-logs","gzip_level":"0","response_condition":"","name":"test_s3","period":"60","acl":null,"server_side_encryption":null,"message_type":"classic","public_key":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","access_key":"ACCESS_KEY","format_version":"2","server_side_encryption_kms_key_id":null,"placement":null,"redundancy":"standard","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","path":"/","domain":"example8000.com"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5201' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19139-FRA + x-timer: + - S1556115440.369323,VS0,VE180 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml index 512e0b3..85688a6 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml @@ -2,439 +2,916 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:02 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692522.228750,VS0,VE120'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:23 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115443.423658,VS0,VE183 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"5a00bd7bd2b725463d7ec8f7d58f851fa3879f92","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:02:02Z","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:02 GMT'] - fastly-ratelimit-remaining: ['952'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692522.405372,VS0,VE440'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"cab36090df064e6bbb918201fdd702c0ba7a11b3","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:17:24Z","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:24 GMT + fastly-ratelimit-remaining: + - '746' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115444.803728,VS0,VE583 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:02Z","active":false,"number":1,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:02:02Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692523.903402,VS0,VE168'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:24Z","active":false,"number":1,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:17:24Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115445.524722,VS0,VE651 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/1/clone + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:03 GMT'] - fastly-ratelimit-remaining: ['951'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692523.129093,VS0,VE497'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:25 GMT + fastly-ratelimit-remaining: + - '745' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115445.328461,VS0,VE292 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/domain + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692524.684169,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115446.770096,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/healthcheck + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692524.871822,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115446.367364,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/condition + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692524.053200,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556115447.995365,VS0,VE530 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/backend + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692524.230315,VS0,VE123'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115448.637684,VS0,VE557 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/director + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692524.410957,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115448.323787,VS0,VE195 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/cache_settings + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692525.591137,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115449.642465,VS0,VE191 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/gzip + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692525.776269,VS0,VE117'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19170-FRA + x-timer: + - S1556115449.946001,VS0,VE530 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/header + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692525.947979,VS0,VE134'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115450.644727,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/request_settings + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692525.141683,VS0,VE387'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115450.242929,VS0,VE572 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/response_object + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692526.589182,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19131-FRA + x-timer: + - S1556115451.997601,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/snippet + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692526.774868,VS0,VE389'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115452.651268,VS0,VE448 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/logging/s3 + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692526.217958,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115452.318188,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/logging/syslog + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692526.394009,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115453.945655,VS0,VE499 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115454.649333,VS0,VE188 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/domain + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":2,"deleted_at":null,"created_at":"2018-05-30T15:02:06Z","updated_at":"2018-05-30T15:02:06Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:06 GMT'] - fastly-ratelimit-remaining: ['950'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692527.578454,VS0,VE211'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":2,"deleted_at":null,"created_at":"2019-04-24T14:17:34Z","updated_at":"2019-04-24T14:17:34Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:34 GMT + fastly-ratelimit-remaining: + - '744' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115454.057567,VS0,VE575 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -442,239 +919,445 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/backend + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:06Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:07 GMT'] - fastly-ratelimit-remaining: ['949'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692527.849964,VS0,VE217'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":2,"updated_at":"2019-04-24T14:17:35Z","override_host":null,"min_tls_version":null,"max_tls_version":null,"ssl_client_cert":null,"ssl_ciphers":null,"use_ssl":false,"ssl_client_key":null,"comment":"","auto_loadbalance":false,"ipv4":"127.0.0.1","ssl_check_cert":true,"client_cert":null,"ipv6":null,"created_at":"2019-04-24T14:17:35Z","hostname":null,"deleted_at":null,"ssl_sni_hostname":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:35 GMT + fastly-ratelimit-remaining: + - '743' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556115455.775972,VS0,VE620 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/header + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"2","updated_at":"2018-05-30T15:02:07Z","deleted_at":null,"created_at":"2018-05-30T15:02:07Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:07 GMT'] - fastly-ratelimit-remaining: ['948'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692527.124301,VS0,VE446'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":"2","updated_at":"2019-04-24T14:17:36Z","deleted_at":null,"created_at":"2019-04-24T14:17:36Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:36 GMT + fastly-ratelimit-remaining: + - '742' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115456.594335,VS0,VE569 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/response_object + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:08Z","updated_at":"2018-05-30T15:02:08Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:08 GMT'] - fastly-ratelimit-remaining: ['947'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692528.633527,VS0,VE444'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:17:36Z","updated_at":"2019-04-24T14:17:36Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:36 GMT + fastly-ratelimit-remaining: + - '741' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556115456.310423,VS0,VE588 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/settings + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3C4FPwHsDEzBLF43Z63Ql4"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:08 GMT'] - fastly-ratelimit-remaining: ['946'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692528.138686,VS0,VE173'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"service_id":"0HQSfYzeTzSBfSMRIhYeXY","general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_ttl":3600,"general.default_pci":0,"version":2,"general.default_host":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:37 GMT + fastly-ratelimit-remaining: + - '740' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115457.026065,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/activate + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:09 GMT'] - fastly-ratelimit-remaining: ['945'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692528.371619,VS0,VE634'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:36Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:39 GMT + fastly-ratelimit-remaining: + - '739' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115458.745556,VS0,VE1666 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:24Z","created_at":"2019-04-24T14:17:24Z","staging":false,"deployed":false,"number":1,"testing":false,"comment":"","deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:17:25Z","service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:39Z","active":true,"comment":"","testing":false,"deployed":false,"number":2,"deleted_at":null,"staging":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692529.063395,VS0,VE151'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:40 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556115460.522416,VS0,VE591 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692529.269522,VS0,VE415'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"deleted_at":null,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","comment":"","number":1,"testing":false,"deployed":false,"staging":false,"created_at":"2019-04-24T14:17:24Z","updated_at":"2019-04-24T14:17:24Z","locked":false,"active":false},{"testing":false,"updated_at":"2019-04-24T14:17:39Z","number":2,"deployed":false,"locked":true,"active":true,"comment":"","staging":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","created_at":"2019-04-24T14:17:25Z","deleted_at":null}],"name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:17:24Z","deleted_at":null,"id":"0HQSfYzeTzSBfSMRIhYeXY","created_at":"2019-04-24T14:17:24Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:40 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115460.303632,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:24Z","created_at":"2019-04-24T14:17:24Z","staging":false,"deployed":false,"number":1,"testing":false,"comment":"","deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:17:25Z","service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:39Z","active":true,"comment":"","testing":false,"deployed":false,"number":2,"deleted_at":null,"staging":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692530.746018,VS0,VE128'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115461.950726,VS0,VE181 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:24Z","created_at":"2019-04-24T14:17:24Z","staging":false,"deployed":false,"number":1,"testing":false,"comment":"","deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:17:25Z","service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:39Z","active":true,"comment":"","testing":false,"deployed":false,"number":2,"deleted_at":null,"staging":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692530.933295,VS0,VE132'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115461.331108,VS0,VE497 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml index f35a860..04089e3 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml @@ -2,105 +2,197 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":""}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":""}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:23 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692723.043407,VS0,VE148'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115485.542538,VS0,VE557 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:43Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4679'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:23 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692723.248898,VS0,VE123'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4933' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115485.270318,VS0,VE171 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/deactivate + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:43Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:23 GMT'] - fastly-ratelimit-remaining: ['742'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692723.431283,VS0,VE502'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:06 GMT + fastly-ratelimit-remaining: + - '726' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115486.605137,VS0,VE558 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:24 GMT'] - fastly-ratelimit-remaining: ['741'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692724.991036,VS0,VE152'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:06 GMT + fastly-ratelimit-remaining: + - '725' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115486.279076,VS0,VE573 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml index 7ff44ae..9a20773 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml @@ -2,439 +2,1063 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:11 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692711.958132,VS0,VE410'] - status: {code: 404, message: Not Found} -- request: - body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' - headers: - Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service - response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"606c364a76abf7535c7df7553fc5f4b94c3ba77b","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:11Z","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:11 GMT'] - fastly-ratelimit-remaining: ['751'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692711.422152,VS0,VE408'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":""}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115462.085317,VS0,VE245 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:11Z","active":false,"number":1,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692712.888481,VS0,VE458'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details + response: + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:24Z","created_at":"2019-04-24T14:17:24Z","staging":false,"deployed":false,"number":1,"testing":false,"comment":"","deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:17:25Z","service_id":"0HQSfYzeTzSBfSMRIhYeXY","updated_at":"2019-04-24T14:17:39Z","active":true,"comment":"","testing":false,"deployed":false,"number":2,"deleted_at":null,"staging":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:17:39Z","active":true,"number":2,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115462.441301,VS0,VE181 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/1/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:12 GMT'] - fastly-ratelimit-remaining: ['750'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692712.405904,VS0,VE499'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/2/clone + response: + body: + string: !!python/unicode '{"comment":"","deployed":false,"number":3,"testing":false,"deleted_at":null,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"locked":false,"created_at":"2019-04-24T14:17:25Z","updated_at":"2019-04-24T14:17:39Z","active":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:43 GMT + fastly-ratelimit-remaining: + - '738' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115463.764535,VS0,VE657 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/domain - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692713.177099,VS0,VE128'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/domain + response: + body: + string: !!python/unicode '[{"version":3,"comment":"","service_id":"0HQSfYzeTzSBfSMRIhYeXY","created_at":"2019-04-24T14:17:34Z","deleted_at":null,"updated_at":"2019-04-24T14:17:43Z","name":"example8000.com"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115464.579649,VS0,VE531 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/healthcheck - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692713.361775,VS0,VE418'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/healthcheck + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115464.224764,VS0,VE497 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/condition - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692714.836856,VS0,VE122'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/condition + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115465.893352,VS0,VE501 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/backend - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692714.026770,VS0,VE119'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/backend + response: + body: + string: !!python/unicode '[{"weight":100,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"deleted_at":null,"ssl_sni_hostname":null,"hostname":null,"created_at":"2019-04-24T14:17:35Z","error_threshold":0,"ipv4":"127.0.0.1","comment":"","auto_loadbalance":false,"shield":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","min_tls_version":null,"max_tls_version":null,"connect_timeout":1000,"ssl_client_cert":null,"between_bytes_timeout":10000,"use_ssl":false,"ssl_ciphers":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"first_byte_timeout":15000,"version":3,"request_condition":"","port":80,"override_host":null,"updated_at":"2019-04-24T14:17:43Z","ssl_cert_hostname":null}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115466.507686,VS0,VE516 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/director - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692714.200176,VS0,VE394'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/director + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115466.118452,VS0,VE535 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/cache_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692715.652960,VS0,VE391'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/cache_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115467.855701,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/gzip - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692715.097811,VS0,VE421'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/gzip + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19167-FRA + x-timer: + - S1556115467.469601,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/header - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692716.570731,VS0,VE386'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/header + response: + body: + string: !!python/unicode '[{"priority":"100","service_id":"0HQSfYzeTzSBfSMRIhYeXY","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:17:43Z","version":"3","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:17:36Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115468.074085,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/request_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692716.012041,VS0,VE384'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/request_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115469.712334,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/response_object - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692716.454649,VS0,VE391'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/response_object + response: + body: + string: !!python/unicode '[{"version":"3","request_condition":"","content":"","content_type":"","service_id":"0HQSfYzeTzSBfSMRIhYeXY","deleted_at":null,"created_at":"2019-04-24T14:17:36Z","response":"Ok","cache_condition":"","name":"Set + 200 status code","status":"200","updated_at":"2019-04-24T14:17:43Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115469.437277,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/snippet - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692717.896510,VS0,VE451'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/snippet + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19149-FRA + x-timer: + - S1556115470.118968,VS0,VE198 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/s3 - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692717.402545,VS0,VE120'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/logging/s3 + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115471.541050,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/syslog - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:17 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692718.576787,VS0,VE168'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/logging/syslog + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115471.161646,VS0,VE527 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115472.805452,VS0,VE543 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/domain/example8000.com + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:53 GMT + fastly-ratelimit-remaining: + - '737' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115472.461802,VS0,VE630 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/backend/localhost + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:53 GMT + fastly-ratelimit-remaining: + - '736' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115473.213804,VS0,VE630 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/header/Set%20Location%20header + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:54 GMT + fastly-ratelimit-remaining: + - '735' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115474.026994,VS0,VE575 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/response_object/Set%20200%20status%20code + response: + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:55 GMT + fastly-ratelimit-remaining: + - '734' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115475.751767,VS0,VE570 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/domain - response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6ccs48y0DOyL7boPDXoMOj","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:18Z","updated_at":"2018-05-30T15:05:18Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:18 GMT'] - fastly-ratelimit-remaining: ['749'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692718.800428,VS0,VE490'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/domain + response: + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":3,"deleted_at":null,"created_at":"2019-04-24T14:17:55Z","updated_at":"2019-04-24T14:17:55Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:56 GMT + fastly-ratelimit-remaining: + - '733' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115475.437196,VS0,VE622 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -442,275 +1066,506 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/backend - response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6ccs48y0DOyL7boPDXoMOj","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:18Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:18 GMT'] - fastly-ratelimit-remaining: ['748'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692718.346296,VS0,VE445'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/backend + response: + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:17:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:17:56Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:56 GMT + fastly-ratelimit-remaining: + - '732' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115476.232795,VS0,VE600 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/header - response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","updated_at":"2018-05-30T15:05:19Z","deleted_at":null,"created_at":"2018-05-30T15:05:19Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:19 GMT'] - fastly-ratelimit-remaining: ['747'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692719.847149,VS0,VE446'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/header + response: + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":"3","updated_at":"2019-04-24T14:17:57Z","deleted_at":null,"created_at":"2019-04-24T14:17:57Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:57 GMT + fastly-ratelimit-remaining: + - '731' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115477.996759,VS0,VE548 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/response_object - response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:19Z","updated_at":"2018-05-30T15:05:19Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:19 GMT'] - fastly-ratelimit-remaining: ['746'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692719.348382,VS0,VE413'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/response_object + response: + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":"3","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:17:58Z","updated_at":"2019-04-24T14:17:58Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:58 GMT + fastly-ratelimit-remaining: + - '730' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115478.715466,VS0,VE614 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"tls_ca_cert": null, "placement": null, "name": "test_syslog", "format_version": 2, "format": "%h %l %u %t \"%r\" %>s %b", "hostname": "syslog.example.com", "use_tls": 0, "tls_hostname": null, "token": "[abc 123]", "address": "syslog.example.com", "message_type": "classic", "port": 514, "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/syslog + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/logging/syslog response: - body: {string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%h + body: + string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%h %l %u %t \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":"[abc - 123]","address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","public_key":null,"updated_at":"2018-05-30T15:05:19Z","ipv4":null,"deleted_at":null,"created_at":"2018-05-30T15:05:19Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['470'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:19 GMT'] - fastly-ratelimit-remaining: ['745'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692720.820129,VS0,VE166'] - status: {code: 200, message: OK} + 123]","address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"0HQSfYzeTzSBfSMRIhYeXY","version":"3","deleted_at":null,"updated_at":"2019-04-24T14:17:58Z","public_key":null,"ipv4":null,"created_at":"2019-04-24T14:17:58Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '470' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:17:59 GMT + fastly-ratelimit-remaining: + - '729' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115478.446799,VS0,VE870 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/settings - response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6ccs48y0DOyL7boPDXoMOj"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:20 GMT'] - fastly-ratelimit-remaining: ['744'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692720.045924,VS0,VE181'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/settings + response: + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"0HQSfYzeTzSBfSMRIhYeXY"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:00 GMT + fastly-ratelimit-remaining: + - '728' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115479.458911,VS0,VE566 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/activate - response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:19Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:21 GMT'] - fastly-ratelimit-remaining: ['743'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692720.284030,VS0,VE1528'] - status: {code: 200, message: OK} + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/version/3/activate + response: + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:43Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:59Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:01 GMT + fastly-ratelimit-remaining: + - '727' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115480.182864,VS0,VE1251 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:43Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4679'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692722.868877,VS0,VE188'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4933' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115482.602024,VS0,VE566 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":""}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692722.115738,VS0,VE484'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":""}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '918' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115482.322621,VS0,VE610 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:43Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4679'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692723.660007,VS0,VE132'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4933' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115483.148794,VS0,VE517 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + uri: https://api.fastly.com/service/0HQSfYzeTzSBfSMRIhYeXY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:17:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","staging":false,"created_at":"2019-04-24T14:17:43Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:01Z","deployed":false}],"created_at":"2019-04-24T14:17:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:17:24Z","id":"0HQSfYzeTzSBfSMRIhYeXY","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:01Z","active":true,"number":3,"service_id":"0HQSfYzeTzSBfSMRIhYeXY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:17:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc - 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4679'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692723.848080,VS0,VE119'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4933' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19149-FRA + x-timer: + - S1556115484.785258,VS0,VE474 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml index 78c862f..175d20d 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml @@ -2,440 +2,916 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:24 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692724.207690,VS0,VE126'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:07 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19166-FRA + x-timer: + - S1556115487.052508,VS0,VE481 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"3e76d9d0a2964ee82216f3a979d021a631863bba","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:24Z","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:24 GMT'] - fastly-ratelimit-remaining: ['740'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692724.390020,VS0,VE431'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"34e8ba9c3b44103976f15a31c12819d147a62dfe","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:18:08Z","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:08 GMT + fastly-ratelimit-remaining: + - '724' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115488.754318,VS0,VE571 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:24Z","active":false,"number":1,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:24Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:25 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692725.879485,VS0,VE451'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:08Z","active":false,"number":1,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:18:08Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115488.413954,VS0,VE266 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/1/clone + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:25 GMT'] - fastly-ratelimit-remaining: ['739'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692725.389086,VS0,VE220'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:09 GMT + fastly-ratelimit-remaining: + - '723' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115489.876721,VS0,VE646 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/domain + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692726.659877,VS0,VE406'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115490.709150,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/healthcheck + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692726.114026,VS0,VE407'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115490.396728,VS0,VE537 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/condition + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692727.572563,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115491.127218,VS0,VE441 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/backend + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692727.743663,VS0,VE420'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115492.678213,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/director + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692727.221103,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115492.392479,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/cache_settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692727.401392,VS0,VE384'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115493.082634,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/gzip + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692728.843223,VS0,VE408'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:13 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115494.682922,VS0,VE181 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692728.304341,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:14 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19167-FRA + x-timer: + - S1556115494.946936,VS0,VE521 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/request_settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692728.489992,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115495.611564,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/response_object + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692729.675174,VS0,VE417'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19166-FRA + x-timer: + - S1556115495.330106,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/snippet + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692729.150043,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115496.044464,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/s3 + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692729.331007,VS0,VE143'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19167-FRA + x-timer: + - S1556115497.762121,VS0,VE524 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/syslog + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692730.534997,VS0,VE171'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115497.400396,VS0,VE488 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115498.002399,VS0,VE496 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/domain + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:30Z","updated_at":"2018-05-30T15:05:30Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:30 GMT'] - fastly-ratelimit-remaining: ['738'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692730.764929,VS0,VE475'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4988RK30zjTjnn3YSGpize","version":2,"deleted_at":null,"created_at":"2019-04-24T14:18:19Z","updated_at":"2019-04-24T14:18:19Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:19 GMT + fastly-ratelimit-remaining: + - '722' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115499.704523,VS0,VE603 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -443,84 +919,153 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/backend + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:30Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:30Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:30 GMT'] - fastly-ratelimit-remaining: ['737'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692730.299705,VS0,VE164'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4988RK30zjTjnn3YSGpize","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:18:19Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:18:19Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:20 GMT + fastly-ratelimit-remaining: + - '721' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115500.531790,VS0,VE543 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","updated_at":"2018-05-30T15:05:30Z","deleted_at":null,"created_at":"2018-05-30T15:05:30Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:30 GMT'] - fastly-ratelimit-remaining: ['736'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692731.522497,VS0,VE168'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4988RK30zjTjnn3YSGpize","version":"2","updated_at":"2019-04-24T14:18:20Z","deleted_at":null,"created_at":"2019-04-24T14:18:20Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:20 GMT + fastly-ratelimit-remaining: + - '720' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115500.238837,VS0,VE598 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/response_object + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:30Z","updated_at":"2018-05-30T15:05:30Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:30 GMT'] - fastly-ratelimit-remaining: ['735'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692731.742204,VS0,VE151'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4988RK30zjTjnn3YSGpize","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:18:21Z","updated_at":"2019-04-24T14:18:21Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:21 GMT + fastly-ratelimit-remaining: + - '719' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115501.060001,VS0,VE647 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"tls_ca_cert": null, "placement": null, "name": "test_syslog", "format_version": 2, "format": "%{%Y-%m-%dT%H:%M:%S}t %h \"%r\" %>s %b", "hostname": @@ -528,653 +1073,1309 @@ interactions: "syslog.example.com", "message_type": "classic", "port": 514, "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/syslog + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/logging/syslog response: - body: {string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%{%Y-%m-%dT%H:%M:%S}t - %h \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":null,"address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","public_key":null,"updated_at":"2018-05-30T15:05:31Z","ipv4":null,"deleted_at":null,"created_at":"2018-05-30T15:05:31Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['476'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:31 GMT'] - fastly-ratelimit-remaining: ['734'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692731.952570,VS0,VE423'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":null,"address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"4988RK30zjTjnn3YSGpize","version":"2","deleted_at":null,"updated_at":"2019-04-24T14:18:22Z","public_key":null,"ipv4":null,"created_at":"2019-04-24T14:18:22Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '476' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:22 GMT + fastly-ratelimit-remaining: + - '718' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115502.824493,VS0,VE874 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:31 GMT'] - fastly-ratelimit-remaining: ['733'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692731.436308,VS0,VE450'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4988RK30zjTjnn3YSGpize"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:23 GMT + fastly-ratelimit-remaining: + - '717' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115503.894133,VS0,VE536 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/activate + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:31Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:33 GMT'] - fastly-ratelimit-remaining: ['732'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692732.937075,VS0,VE1316'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:22Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:25 GMT + fastly-ratelimit-remaining: + - '716' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19137-FRA + x-timer: + - S1556115504.558201,VS0,VE1575 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:25Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:25Z","active":true,"number":2,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:09Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:25Z","active":true,"number":2,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:09Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t - %h \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4691'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:33 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692733.309382,VS0,VE150'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4713' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19167-FRA + x-timer: + - S1556115505.271570,VS0,VE250 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:33 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692734.518683,VS0,VE151'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:25Z","active":true,"number":2,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:09Z","comment":""}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115506.671718,VS0,VE537 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:25Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:25Z","active":true,"number":2,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:09Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:25Z","active":true,"number":2,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:09Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t - %h \"%r\" %\u003es %b"}]}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4691'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:33 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692734.727222,VS0,VE120'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]}}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4713' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19167-FRA + x-timer: + - S1556115506.329071,VS0,VE473 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/clone + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/2/clone + response: + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:25Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:27 GMT + fastly-ratelimit-remaining: + - '715' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115507.004859,VS0,VE621 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:34 GMT'] - fastly-ratelimit-remaining: ['731'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692734.909335,VS0,VE505'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":3,"name":"example8000.com","service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"created_at":"2019-04-24T14:18:19Z","comment":"","updated_at":"2019-04-24T14:18:27Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '171' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115508.818024,VS0,VE232 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/healthcheck response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","created_at":"2018-05-30T15:05:30Z","comment":"","updated_at":"2018-05-30T15:05:30Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692734.474999,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115508.164829,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/healthcheck + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692735.656522,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115509.768420,VS0,VE522 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/condition + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692735.842496,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"created_at":"2019-04-24T14:18:19Z","hostname":null,"deleted_at":null,"ssl_sni_hostname":null,"ipv6":null,"name":"localhost","ssl_hostname":null,"client_cert":null,"weight":100,"service_id":"4988RK30zjTjnn3YSGpize","ssl_ca_cert":null,"address":"127.0.0.1","ssl_check_cert":true,"comment":"","auto_loadbalance":false,"shield":null,"error_threshold":0,"ipv4":"127.0.0.1","ssl_client_key":null,"max_conn":200,"healthcheck":null,"ssl_ciphers":null,"use_ssl":false,"ssl_client_cert":null,"between_bytes_timeout":10000,"connect_timeout":1000,"min_tls_version":null,"max_tls_version":null,"ssl_cert_hostname":null,"updated_at":"2019-04-24T14:18:27Z","override_host":null,"port":80,"version":3,"request_condition":"","first_byte_timeout":15000}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19165-FRA + x-timer: + - S1556115509.406928,VS0,VE507 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/director response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:30Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:30Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692735.021516,VS0,VE397'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556115510.068355,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/director + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692735.478676,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115511.790872,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/cache_settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692736.663680,VS0,VE164'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19139-FRA + x-timer: + - S1556115512.507226,VS0,VE530 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/gzip + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692736.887191,VS0,VE390'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"priority":"100","service_id":"4988RK30zjTjnn3YSGpize","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:18:27Z","version":"3","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:18:20Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115512.222875,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/request_settings response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"6rElV0zbjcM0l9pH1uS9qK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:30Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:30Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692736.336446,VS0,VE392'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115513.941299,VS0,VE505 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/request_settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692737.786439,VS0,VE132'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"200","version":"3","name":"Set + 200 status code","content":"","service_id":"4988RK30zjTjnn3YSGpize","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:18:21Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:18:27Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115514.669783,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/snippet response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","cache_condition":"","created_at":"2018-05-30T15:05:30Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:05:30Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692737.977300,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115514.376324,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/snippet + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692737.165298,VS0,VE117'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115515.099446,VS0,VE494 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/s3 + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692737.342692,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"placement":null,"hostname":"syslog.example.com","message_type":"classic","name":"test_syslog","use_tls":"0","version":"3","deleted_at":null,"format_version":"2","response_condition":"","updated_at":"2019-04-24T14:18:27Z","address":"syslog.example.com","public_key":null,"ipv4":null,"tls_hostname":null,"port":"514","service_id":"4988RK30zjTjnn3YSGpize","tls_ca_cert":null,"token":null,"created_at":"2019-04-24T14:18:22Z","format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '480' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115516.809994,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/syslog + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/logging/cloudfiles response: - body: {string: !!python/unicode '[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"updated_at":"2018-05-30T15:05:34Z","message_type":"classic","ipv4":null,"tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","service_id":"6rElV0zbjcM0l9pH1uS9qK","tls_ca_cert":null,"token":null,"version":"3","deleted_at":null,"created_at":"2018-05-30T15:05:31Z","format":"%{%Y-%m-%dT%H:%M:%S}t - %h \"%r\" %\u003es %b"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['480'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692738.531818,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556115516.434493,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain/example8000.com + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/domain/example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:38 GMT'] - fastly-ratelimit-remaining: ['730'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692738.724810,VS0,VE438'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:37 GMT + fastly-ratelimit-remaining: + - '714' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115517.194110,VS0,VE590 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend/localhost + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:38 GMT'] - fastly-ratelimit-remaining: ['729'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692738.219742,VS0,VE181'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:38 GMT + fastly-ratelimit-remaining: + - '713' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115518.147854,VS0,VE583 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:38 GMT'] - fastly-ratelimit-remaining: ['728'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692738.458783,VS0,VE202'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:40 GMT + fastly-ratelimit-remaining: + - '712' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115520.905839,VS0,VE631 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/response_object/Set%20200%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:39 GMT'] - fastly-ratelimit-remaining: ['727'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692739.719834,VS0,VE499'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:41 GMT + fastly-ratelimit-remaining: + - '711' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115521.733396,VS0,VE624 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/syslog/test_syslog + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/logging/syslog/test_syslog response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:39 GMT'] - fastly-ratelimit-remaining: ['726'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692739.273058,VS0,VE196'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:42 GMT + fastly-ratelimit-remaining: + - '710' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115521.477479,VS0,VE641 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":3,"deleted_at":null,"created_at":"2018-05-30T15:05:39Z","updated_at":"2018-05-30T15:05:39Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:39 GMT'] - fastly-ratelimit-remaining: ['725'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692740.525841,VS0,VE217'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4988RK30zjTjnn3YSGpize","version":3,"created_at":"2019-04-24T14:18:42Z","deleted_at":null,"updated_at":"2019-04-24T14:18:42Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:42 GMT + fastly-ratelimit-remaining: + - '709' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115522.263144,VS0,VE303 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -1182,160 +2383,298 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:40Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:40Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:40 GMT'] - fastly-ratelimit-remaining: ['724'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692740.799791,VS0,VE468'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4988RK30zjTjnn3YSGpize","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:18:43Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:18:43Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:43 GMT + fastly-ratelimit-remaining: + - '708' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115523.784789,VS0,VE635 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"3","updated_at":"2018-05-30T15:05:40Z","deleted_at":null,"created_at":"2018-05-30T15:05:40Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:40 GMT'] - fastly-ratelimit-remaining: ['723'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692740.330979,VS0,VE459'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4988RK30zjTjnn3YSGpize","version":"3","updated_at":"2019-04-24T14:18:44Z","deleted_at":null,"created_at":"2019-04-24T14:18:44Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:44 GMT + fastly-ratelimit-remaining: + - '707' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115524.594993,VS0,VE573 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:41Z","updated_at":"2018-05-30T15:05:41Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:41 GMT'] - fastly-ratelimit-remaining: ['722'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692741.845316,VS0,VE423'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4988RK30zjTjnn3YSGpize","version":"3","updated_at":"2019-04-24T14:18:44Z","created_at":"2019-04-24T14:18:44Z","cache_condition":"","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:44 GMT + fastly-ratelimit-remaining: + - '706' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115524.285874,VS0,VE555 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/settings + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:41 GMT'] - fastly-ratelimit-remaining: ['721'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692741.319790,VS0,VE453'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"4988RK30zjTjnn3YSGpize"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:45 GMT + fastly-ratelimit-remaining: + - '705' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115525.026909,VS0,VE240 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/activate + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:41Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:42 GMT'] - fastly-ratelimit-remaining: ['720'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692742.827670,VS0,VE877'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"active":true,"locked":true,"created_at":"2019-04-24T14:18:27Z","updated_at":"2019-04-24T14:18:44Z","service_id":"4988RK30zjTjnn3YSGpize","staging":false,"comment":"","number":3,"testing":false,"deployed":false,"deleted_at":null,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:46 GMT + fastly-ratelimit-remaining: + - '704' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115525.386468,VS0,VE1172 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4988RK30zjTjnn3YSGpize/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:08Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:09Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:46Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4988RK30zjTjnn3YSGpize","staging":false,"created_at":"2019-04-24T14:18:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:18:46Z","deployed":false}],"created_at":"2019-04-24T14:18:08Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:18:08Z","id":"4988RK30zjTjnn3YSGpize","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:46Z","active":true,"number":3,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:18:46Z","active":true,"number":3,"service_id":"4988RK30zjTjnn3YSGpize","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:18:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4225'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692743.762981,VS0,VE157'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4247' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:18:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115527.671047,VS0,VE594 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml index 31bb3c8..1b9bc1d 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml @@ -2,103 +2,195 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":""}],"created_at":"2019-04-24T14:13:02Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1150'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692752.254762,VS0,VE149'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115201.141974,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:03Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:18Z","deployed":false}],"created_at":"2019-04-24T14:13:02Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5041'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692752.454500,VS0,VE119'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4599' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115202.790729,VS0,VE292 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/deactivate + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:03Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:18Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:52 GMT'] - fastly-ratelimit-remaining: ['707'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692753.628694,VS0,VE204'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:22 GMT + fastly-ratelimit-remaining: + - '872' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115202.206623,VS0,VE682 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:53 GMT'] - fastly-ratelimit-remaining: ['706'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692753.889699,VS0,VE510'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:23 GMT + fastly-ratelimit-remaining: + - '871' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115203.002020,VS0,VE547 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml index ee4f278..fcc52df 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml @@ -2,518 +2,918 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692743.043944,VS0,VE153'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details - response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4225'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692743.255038,VS0,VE124'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:01 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115181.463959,VS0,VE171 + status: + code: 404 + message: Not Found - request: - body: null + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/clone + Content-Type: + - application/json + method: POST + uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:43 GMT'] - fastly-ratelimit-remaining: ['719'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692743.441150,VS0,VE474'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"e37257af1f3f90880c32ae0a0a81da771b4ebc4b","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:13:02Z","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:02 GMT + fastly-ratelimit-remaining: + - '881' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115182.779590,VS0,VE561 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/details response: - body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","created_at":"2018-05-30T15:05:39Z","comment":"","updated_at":"2018-05-30T15:05:39Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692744.971937,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"updated_at":"2019-04-24T14:13:02Z","name":"Fastly + Ansible Module Test","created_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP","deleted_at":null,"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"staging":false,"deleted_at":null,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"number":1,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:13:02Z","created_at":"2019-04-24T14:13:02Z","locked":false}],"version":{"service_id":"4wM2uji6WDT2xX4BGmn0WP","created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","staging":false,"deployed":false,"number":1,"locked":false,"active":false,"testing":false,"updated_at":"2019-04-24T14:13:02Z","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115182.439772,VS0,VE247 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/healthcheck + Content-Type: + - application/json + method: PUT + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/1/clone response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692744.153513,VS0,VE407'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:03 GMT + fastly-ratelimit-remaining: + - '880' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115183.800978,VS0,VE594 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/condition + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692745.613720,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115184.533351,VS0,VE180 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/healthcheck response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:40Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:40Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692745.790136,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115184.817307,VS0,VE473 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/director + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692745.976290,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115184.445750,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/cache_settings + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692745.154729,VS0,VE407'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19139-FRA + x-timer: + - S1556115185.825012,VS0,VE548 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/gzip + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692746.620490,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115186.571025,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/cache_settings response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"6rElV0zbjcM0l9pH1uS9qK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:40Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:40Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692746.800228,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19156-FRA + x-timer: + - S1556115186.279847,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/request_settings + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:46 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692746.983339,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115187.999057,VS0,VE501 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/header response: - body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","cache_condition":"","created_at":"2018-05-30T15:05:41Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:05:41Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:46 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692746.171958,VS0,VE123'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115188.615874,VS0,VE443 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/snippet + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:46 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692746.353234,VS0,VE117'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115188.226612,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/logging/s3 + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:46 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692747.528603,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:09 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115189.848546,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/logging/syslog + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:46 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692747.709170,VS0,VE122'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '[]' headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:47 GMT'] - fastly-ratelimit-remaining: ['718'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692747.892728,VS0,VE433'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19128-FRA + x-timer: + - S1556115190.512898,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend/localhost + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/logging/s3 response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:47 GMT'] - fastly-ratelimit-remaining: ['717'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692747.384299,VS0,VE453'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:10 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115190.166456,VS0,VE535 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header/Set%20Location%20header + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/logging/syslog response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:48 GMT'] - fastly-ratelimit-remaining: ['716'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692748.895534,VS0,VE450'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:11 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115191.818040,VS0,VE497 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object/Set%20200%20status%20code + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/logging/cloudfiles response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:48 GMT'] - fastly-ratelimit-remaining: ['715'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692748.394871,VS0,VE439'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:12 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115192.513257,VS0,VE494 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":4,"deleted_at":null,"created_at":"2018-05-30T15:05:49Z","updated_at":"2018-05-30T15:05:49Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:49 GMT'] - fastly-ratelimit-remaining: ['714'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692749.903047,VS0,VE211'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4wM2uji6WDT2xX4BGmn0WP","version":2,"deleted_at":null,"created_at":"2019-04-24T14:13:12Z","updated_at":"2019-04-24T14:13:12Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:12 GMT + fastly-ratelimit-remaining: + - '879' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115192.227039,VS0,VE568 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -521,267 +921,500 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:49Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:49Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:49 GMT'] - fastly-ratelimit-remaining: ['713'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692749.167646,VS0,VE174'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4wM2uji6WDT2xX4BGmn0WP","version":2,"ipv4":"127.0.0.1","comment":"","auto_loadbalance":false,"ssl_check_cert":true,"client_cert":null,"ipv6":null,"ssl_sni_hostname":null,"deleted_at":null,"hostname":null,"created_at":"2019-04-24T14:13:13Z","override_host":null,"updated_at":"2019-04-24T14:13:13Z","min_tls_version":null,"max_tls_version":null,"ssl_client_cert":null,"use_ssl":false,"ssl_ciphers":null,"ssl_client_key":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:13 GMT + fastly-ratelimit-remaining: + - '878' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19147-FRA + x-timer: + - S1556115193.935336,VS0,VE299 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","updated_at":"2018-05-30T15:05:49Z","deleted_at":null,"created_at":"2018-05-30T15:05:49Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:49 GMT'] - fastly-ratelimit-remaining: ['712'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692749.391086,VS0,VE155'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4wM2uji6WDT2xX4BGmn0WP","version":"2","updated_at":"2019-04-24T14:13:13Z","deleted_at":null,"created_at":"2019-04-24T14:13:13Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:13 GMT + fastly-ratelimit-remaining: + - '877' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115193.363806,VS0,VE611 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"request_condition": "", "name": "request-setting-config-name", "force_miss": 1, "xff": "append", "bypass_busy_wait": 1, "hash_keys": "req.url,req.http.host,req.http.Fastly-SSL", "force_ssl": 1, "action": "pass", "geo_headers": 1, "default_host": "example.net", "timer_support": 1, "max_stale_age": 30}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/request_settings + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/request_settings response: - body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","timer_support":"1","max_stale_age":30,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","updated_at":"2018-05-30T15:05:49Z","deleted_at":null,"created_at":"2018-05-30T15:05:49Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['432'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:50 GMT'] - fastly-ratelimit-remaining: ['711'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692750.595587,VS0,VE422'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","timer_support":"1","max_stale_age":30,"service_id":"4wM2uji6WDT2xX4BGmn0WP","version":"2","updated_at":"2019-04-24T14:13:14Z","deleted_at":null,"created_at":"2019-04-24T14:13:14Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '432' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:14 GMT + fastly-ratelimit-remaining: + - '876' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19149-FRA + x-timer: + - S1556115194.169229,VS0,VE603 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:50Z","updated_at":"2018-05-30T15:05:50Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:50 GMT'] - fastly-ratelimit-remaining: ['710'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692750.068382,VS0,VE149'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4wM2uji6WDT2xX4BGmn0WP","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:13:15Z","updated_at":"2019-04-24T14:13:15Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:15 GMT + fastly-ratelimit-remaining: + - '875' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115195.000526,VS0,VE587 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/settings + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:50 GMT'] - fastly-ratelimit-remaining: ['709'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692750.267523,VS0,VE182'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4wM2uji6WDT2xX4BGmn0WP"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:16 GMT + fastly-ratelimit-remaining: + - '874' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115196.818061,VS0,VE539 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/activate + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:50Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:51 GMT'] - fastly-ratelimit-remaining: ['708'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692751.501578,VS0,VE926'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"locked":true,"created_at":"2019-04-24T14:13:03Z","service_id":"4wM2uji6WDT2xX4BGmn0WP","updated_at":"2019-04-24T14:13:15Z","active":true,"comment":"","number":2,"deployed":false,"testing":false,"deleted_at":null,"staging":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:18 GMT + fastly-ratelimit-remaining: + - '873' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115197.736410,VS0,VE1761 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:03Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:18Z","deployed":false}],"created_at":"2019-04-24T14:13:02Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5041'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692751.479636,VS0,VE155'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4599' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115199.636460,VS0,VE599 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1150'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692752.688746,VS0,VE153'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":""}],"created_at":"2019-04-24T14:13:02Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19156-FRA + x-timer: + - S1556115199.350693,VS0,VE633 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:03Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:18Z","deployed":false}],"created_at":"2019-04-24T14:13:02Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5041'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692752.891457,VS0,VE121'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4599' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115200.083081,VS0,VE521 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + uri: https://api.fastly.com/service/4wM2uji6WDT2xX4BGmn0WP/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:02Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4wM2uji6WDT2xX4BGmn0WP","staging":false,"created_at":"2019-04-24T14:13:03Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:18Z","deployed":false}],"created_at":"2019-04-24T14:13:02Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:02Z","id":"4wM2uji6WDT2xX4BGmn0WP","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:18Z","active":true,"number":2,"service_id":"4wM2uji6WDT2xX4BGmn0WP","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5041'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692752.063478,VS0,VE119'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4599' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115201.723927,VS0,VE186 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml index 86fa39c..d6500ce 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml @@ -2,439 +2,917 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:53 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692753.458963,VS0,VE157'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:23 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115204.699711,VS0,VE170 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"7ac8f7d4929baa024c974fd1491c30c5eb54991f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:54 GMT'] - fastly-ratelimit-remaining: ['705'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692754.670107,VS0,VE441'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","deleted_at":null,"comment":"","versions":[{"active":false,"updated_at":"2019-04-24T14:13:24Z","service_id":"6oPY6z1TgYKqsSybUUN3lp","created_at":"2019-04-24T14:13:24Z","locked":false,"staging":false,"deleted_at":null,"testing":false,"deployed":false,"number":1,"comment":""}],"created_at":"2019-04-24T14:13:24Z","updated_at":"2019-04-24T14:13:24Z","publish_key":"25d1123d1472e4a7c92b3865f943ad36dcdfa743","id":"6oPY6z1TgYKqsSybUUN3lp"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:24 GMT + fastly-ratelimit-remaining: + - '870' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115204.980115,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:54Z","active":false,"number":1,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:54 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692754.169020,VS0,VE160'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","deleted_at":null,"created_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:13:24Z","version":{"testing":false,"updated_at":"2019-04-24T14:13:24Z","number":1,"deployed":false,"active":false,"locked":false,"staging":false,"comment":"","service_id":"6oPY6z1TgYKqsSybUUN3lp","created_at":"2019-04-24T14:13:24Z","deleted_at":null,"acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19149-FRA + x-timer: + - S1556115205.621277,VS0,VE602 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/1/clone + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:54 GMT'] - fastly-ratelimit-remaining: ['704'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692754.379235,VS0,VE479'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:25 GMT + fastly-ratelimit-remaining: + - '869' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115205.334860,VS0,VE638 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/domain + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:55 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692755.908647,VS0,VE163'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115206.084241,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/healthcheck + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:55 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692755.121698,VS0,VE415'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115207.696481,VS0,VE521 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/condition + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:56 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692756.589946,VS0,VE482'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115207.339589,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/backend + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:56 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692756.124363,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115208.980439,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/director + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:56 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692756.301611,VS0,VE162'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556115209.555595,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/cache_settings + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:56 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692757.520861,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115209.165437,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/gzip + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:56 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692757.701099,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115210.786538,VS0,VE500 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/header + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:56 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692757.874034,VS0,VE118'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115210.445368,VS0,VE181 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/request_settings + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:57 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692757.048904,VS0,VE171'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115211.737407,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/response_object + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:57 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692757.279994,VS0,VE423'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115211.379445,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/snippet + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692758.759260,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115212.083008,VS0,VE515 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/logging/s3 + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692758.229156,VS0,VE166'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115213.710055,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/logging/syslog + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:58 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692758.446530,VS0,VE446'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115213.416317,VS0,VE539 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115214.140686,VS0,VE531 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/domain + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7OAhzqSh0dQSAyFB213yD2","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:59Z","updated_at":"2018-05-30T15:05:59Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:59 GMT'] - fastly-ratelimit-remaining: ['703'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692759.952056,VS0,VE218'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6oPY6z1TgYKqsSybUUN3lp","version":2,"deleted_at":null,"created_at":"2019-04-24T14:13:35Z","updated_at":"2019-04-24T14:13:35Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:35 GMT + fastly-ratelimit-remaining: + - '868' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115215.784225,VS0,VE674 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -442,239 +920,448 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/backend + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:59Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:59 GMT'] - fastly-ratelimit-remaining: ['702'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692759.226481,VS0,VE177'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6oPY6z1TgYKqsSybUUN3lp","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:13:36Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:13:36Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:36 GMT + fastly-ratelimit-remaining: + - '867' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115216.680753,VS0,VE581 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/header + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"2","updated_at":"2018-05-30T15:05:59Z","deleted_at":null,"created_at":"2018-05-30T15:05:59Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:59 GMT'] - fastly-ratelimit-remaining: ['701'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692759.465538,VS0,VE433'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6oPY6z1TgYKqsSybUUN3lp","version":"2","updated_at":"2019-04-24T14:13:36Z","deleted_at":null,"created_at":"2019-04-24T14:13:36Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:36 GMT + fastly-ratelimit-remaining: + - '866' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115216.375560,VS0,VE593 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "Hello from Fastly", "content_type": "text/plain", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/response_object + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"7OAhzqSh0dQSAyFB213yD2","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:00Z","updated_at":"2018-05-30T15:06:00Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['305'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:00 GMT'] - fastly-ratelimit-remaining: ['700'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692760.958263,VS0,VE161'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"6oPY6z1TgYKqsSybUUN3lp","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:13:37Z","updated_at":"2019-04-24T14:13:37Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '305' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:37 GMT + fastly-ratelimit-remaining: + - '865' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115217.092542,VS0,VE593 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/settings + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7OAhzqSh0dQSAyFB213yD2"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:00 GMT'] - fastly-ratelimit-remaining: ['699'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692760.177626,VS0,VE466'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_ttl":3600,"general.default_pci":0,"service_id":"6oPY6z1TgYKqsSybUUN3lp","general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":"","version":2}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:38 GMT + fastly-ratelimit-remaining: + - '864' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115218.817176,VS0,VE552 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/activate + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:00Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:01 GMT'] - fastly-ratelimit-remaining: ['698'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692761.698501,VS0,VE712'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:37Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:39 GMT + fastly-ratelimit-remaining: + - '863' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115218.492091,VS0,VE1494 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"created_at":"2019-04-24T14:13:24Z","updated_at":"2019-04-24T14:13:24Z","service_id":"6oPY6z1TgYKqsSybUUN3lp","locked":false,"active":false,"deleted_at":null,"comment":"","testing":false,"number":1,"deployed":false,"staging":false},{"staging":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deleted_at":null,"comment":"","deployed":false,"testing":false,"number":2,"active":true,"created_at":"2019-04-24T14:13:25Z","updated_at":"2019-04-24T14:13:39Z","locked":true}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692761.469846,VS0,VE150'] - status: {code: 200, message: OK} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:40 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115220.105247,VS0,VE590 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692762.678202,VS0,VE148'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","staging":false,"created_at":"2019-04-24T14:13:24Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:13:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":""}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115221.787636,VS0,VE605 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"created_at":"2019-04-24T14:13:24Z","updated_at":"2019-04-24T14:13:24Z","service_id":"6oPY6z1TgYKqsSybUUN3lp","locked":false,"active":false,"deleted_at":null,"comment":"","testing":false,"number":1,"deployed":false,"staging":false},{"staging":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deleted_at":null,"comment":"","deployed":false,"testing":false,"number":2,"active":true,"created_at":"2019-04-24T14:13:25Z","updated_at":"2019-04-24T14:13:39Z","locked":true}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692762.885348,VS0,VE122'] - status: {code: 200, message: OK} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115222.604849,VS0,VE510 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/6oPY6z1TgYKqsSybUUN3lp/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"created_at":"2019-04-24T14:13:24Z","updated_at":"2019-04-24T14:13:24Z","service_id":"6oPY6z1TgYKqsSybUUN3lp","locked":false,"active":false,"deleted_at":null,"comment":"","testing":false,"number":1,"deployed":false,"staging":false},{"staging":false,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deleted_at":null,"comment":"","deployed":false,"testing":false,"number":2,"active":true,"created_at":"2019-04-24T14:13:25Z","updated_at":"2019-04-24T14:13:39Z","locked":true}],"created_at":"2019-04-24T14:13:24Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:13:24Z","id":"6oPY6z1TgYKqsSybUUN3lp","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:13:39Z","active":true,"number":2,"service_id":"6oPY6z1TgYKqsSybUUN3lp","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:13:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692762.067305,VS0,VE127'] - status: {code: 200, message: OK} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19165-FRA + x-timer: + - S1556115222.324924,VS0,VE183 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml index ddd0537..1d117c0 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml @@ -2,103 +2,195 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":""}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":""}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692677.232220,VS0,VE151'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115395.263562,VS0,VE574 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:17Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:32Z","deployed":false}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692677.439129,VS0,VE125'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115396.011231,VS0,VE174 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/deactivate + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:17Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:32Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:38 GMT'] - fastly-ratelimit-remaining: ['785'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692678.622173,VS0,VE476'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:36 GMT + fastly-ratelimit-remaining: + - '770' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115396.299647,VS0,VE602 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:38 GMT'] - fastly-ratelimit-remaining: ['784'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692678.158324,VS0,VE430'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:37 GMT + fastly-ratelimit-remaining: + - '769' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19143-FRA + x-timer: + - S1556115397.122271,VS0,VE557 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml index d67b3a2..1ca3852 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml @@ -2,440 +2,916 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:28 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692668.008560,VS0,VE125'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:15 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115375.140985,VS0,VE473 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"79997d507d98220649b91623d7a85711d747398e","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:28Z","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:28 GMT'] - fastly-ratelimit-remaining: ['793'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692668.192105,VS0,VE156'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"95e5c6cb878bfdda9953dfdfb2e84b71172f8f4b","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:16:16Z","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:16 GMT + fastly-ratelimit-remaining: + - '778' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115376.801186,VS0,VE535 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:28Z","active":false,"number":1,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:28Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692668.406777,VS0,VE490'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"locked":false,"updated_at":"2019-04-24T14:16:16Z","service_id":"7jredHcu5bdBJejjsuH8at","created_at":"2019-04-24T14:16:16Z","active":false,"number":1,"deployed":false,"testing":false,"comment":"","deleted_at":null,"staging":false}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:16Z","active":false,"number":1,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:16:16Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115376.448204,VS0,VE568 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/1/clone + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:29 GMT'] - fastly-ratelimit-remaining: ['792'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692669.952802,VS0,VE464'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:17 GMT + fastly-ratelimit-remaining: + - '777' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115377.161582,VS0,VE618 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/domain + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692669.474261,VS0,VE171'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115378.935176,VS0,VE584 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/healthcheck + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692670.703862,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115379.679074,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/condition + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692670.890189,VS0,VE166'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115379.288271,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/backend + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692670.111564,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115380.885197,VS0,VE504 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/director + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692670.292598,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115381.500799,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/cache_settings + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692670.473548,VS0,VE386'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115381.243198,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/gzip + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692671.919104,VS0,VE390'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115382.968997,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/header + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692671.364286,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115383.685815,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/request_settings + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692672.544200,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115383.425687,VS0,VE546 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/response_object + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692672.733577,VS0,VE114'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115384.123783,VS0,VE504 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/snippet + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692672.907000,VS0,VE397'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115385.844748,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/logging/s3 + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692672.364106,VS0,VE123'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115386.549267,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/logging/syslog + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692673.549865,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115386.187398,VS0,VE494 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115387.884141,VS0,VE491 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/domain + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5pifNA4PY7fglIORdqj4cK","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:33Z","updated_at":"2018-05-30T15:04:33Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:33 GMT'] - fastly-ratelimit-remaining: ['791'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692673.015889,VS0,VE475'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7jredHcu5bdBJejjsuH8at","version":2,"deleted_at":null,"created_at":"2019-04-24T14:16:28Z","updated_at":"2019-04-24T14:16:28Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:28 GMT + fastly-ratelimit-remaining: + - '776' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115388.602318,VS0,VE612 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -443,241 +919,450 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/backend + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5pifNA4PY7fglIORdqj4cK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:33Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:34 GMT'] - fastly-ratelimit-remaining: ['790'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692674.551397,VS0,VE472'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7jredHcu5bdBJejjsuH8at","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:16:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:16:28Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:29 GMT + fastly-ratelimit-remaining: + - '775' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115388.428703,VS0,VE609 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/header + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5pifNA4PY7fglIORdqj4cK","version":"2","updated_at":"2018-05-30T15:04:34Z","deleted_at":null,"created_at":"2018-05-30T15:04:34Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:34 GMT'] - fastly-ratelimit-remaining: ['789'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692674.078174,VS0,VE449'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7jredHcu5bdBJejjsuH8at","version":"2","updated_at":"2019-04-24T14:16:29Z","deleted_at":null,"created_at":"2019-04-24T14:16:29Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:29 GMT + fastly-ratelimit-remaining: + - '774' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115389.238775,VS0,VE266 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "Hello from Fastly", "content_type": "text/plain", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/response_object + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"5pifNA4PY7fglIORdqj4cK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:34Z","updated_at":"2018-05-30T15:04:34Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['305'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:34 GMT'] - fastly-ratelimit-remaining: ['788'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692675.584135,VS0,VE199'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"7jredHcu5bdBJejjsuH8at","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:16:30Z","updated_at":"2019-04-24T14:16:30Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '305' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:30 GMT + fastly-ratelimit-remaining: + - '773' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115390.644956,VS0,VE557 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/settings + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5pifNA4PY7fglIORdqj4cK"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:35 GMT'] - fastly-ratelimit-remaining: ['787'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692675.839587,VS0,VE462'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_host":"","version":2,"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"service_id":"7jredHcu5bdBJejjsuH8at"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:30 GMT + fastly-ratelimit-remaining: + - '772' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115390.308837,VS0,VE579 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/activate + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:34Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:36 GMT'] - fastly-ratelimit-remaining: ['786'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692675.363217,VS0,VE639'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:17Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:30Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:32 GMT + fastly-ratelimit-remaining: + - '771' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115391.080526,VS0,VE1638 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:17Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:32Z","deployed":false}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692676.060815,VS0,VE195'] - status: {code: 200, message: OK} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115393.819634,VS0,VE631 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":""}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692676.314915,VS0,VE439'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":""}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115394.641957,VS0,VE595 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:17Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:32Z","deployed":false}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692677.811934,VS0,VE128'] - status: {code: 200, message: OK} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115394.369827,VS0,VE182 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details + uri: https://api.fastly.com/service/7jredHcu5bdBJejjsuH8at/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jredHcu5bdBJejjsuH8at","staging":false,"created_at":"2019-04-24T14:16:17Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:32Z","deployed":false}],"created_at":"2019-04-24T14:16:16Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:16Z","id":"7jredHcu5bdBJejjsuH8at","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:32Z","active":true,"number":2,"service_id":"7jredHcu5bdBJejjsuH8at","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692677.999170,VS0,VE155'] - status: {code: 200, message: OK} + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4069' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556115395.771518,VS0,VE187 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml index 8270437..d20610c 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml @@ -2,440 +2,916 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:38 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692679.654520,VS0,VE127'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:38 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115398.859003,VS0,VE191 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"43d587e1ad93b4befacedaee874a1bef8a1c5945","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:38Z","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:38 GMT'] - fastly-ratelimit-remaining: ['783'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692679.838682,VS0,VE148'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"d4e03e3f6c4215f81767c4fa5fc8ea0db9e055f6","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:16:38Z","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:38 GMT + fastly-ratelimit-remaining: + - '768' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115398.258214,VS0,VE561 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:38Z","active":false,"number":1,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692679.043028,VS0,VE190'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","updated_at":"2019-04-24T14:16:38Z","deleted_at":null,"created_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG","comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false}],"version":{"active":false,"locked":false,"deployed":false,"number":1,"updated_at":"2019-04-24T14:16:38Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:16:38Z","service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:39 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19180-FRA + x-timer: + - S1556115399.933306,VS0,VE616 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/1/clone + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:39 GMT'] - fastly-ratelimit-remaining: ['782'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692679.291458,VS0,VE474'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:40 GMT + fastly-ratelimit-remaining: + - '767' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19123-FRA + x-timer: + - S1556115400.682397,VS0,VE612 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/domain + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692680.833468,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19129-FRA + x-timer: + - S1556115401.503540,VS0,VE503 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/healthcheck + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692680.026586,VS0,VE407'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115401.190383,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/condition + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692680.492863,VS0,VE429'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115402.950047,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/backend + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692681.982017,VS0,VE435'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115403.554101,VS0,VE548 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/director + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692681.476142,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115403.271626,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/cache_settings + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692682.661907,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115404.996876,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/gzip + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692682.836189,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115405.701485,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/header + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692682.009961,VS0,VE382'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19156-FRA + x-timer: + - S1556115405.306349,VS0,VE532 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/request_settings + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692682.447908,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19149-FRA + x-timer: + - S1556115406.043269,VS0,VE498 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/response_object + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692683.622608,VS0,VE453'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115407.738905,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/snippet + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692683.133589,VS0,VE404'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115407.371043,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/logging/s3 + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692684.598205,VS0,VE165'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115408.080754,VS0,VE515 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/logging/syslog + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692684.821778,VS0,VE448'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115409.712015,VS0,VE494 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115410.141348,VS0,VE522 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/domain + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"61gZVpISLDZRhPdKKv5Imc","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:44Z","updated_at":"2018-05-30T15:04:44Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:44 GMT'] - fastly-ratelimit-remaining: ['781'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692684.329598,VS0,VE536'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2KeMyRfhNiZvFvarw6FJyG","version":2,"updated_at":"2019-04-24T14:16:51Z","created_at":"2019-04-24T14:16:51Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:51 GMT + fastly-ratelimit-remaining: + - '766' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115411.841230,VS0,VE571 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -443,240 +919,445 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/backend + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:45Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:45 GMT'] - fastly-ratelimit-remaining: ['780'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692685.925269,VS0,VE175'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2KeMyRfhNiZvFvarw6FJyG","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:16:52Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:16:52Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:52 GMT + fastly-ratelimit-remaining: + - '765' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115412.526544,VS0,VE978 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/header + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":"2","updated_at":"2018-05-30T15:04:45Z","deleted_at":null,"created_at":"2018-05-30T15:04:45Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:45 GMT'] - fastly-ratelimit-remaining: ['779'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692685.157440,VS0,VE156'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2KeMyRfhNiZvFvarw6FJyG","version":"2","updated_at":"2019-04-24T14:16:53Z","deleted_at":null,"created_at":"2019-04-24T14:16:53Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:53 GMT + fastly-ratelimit-remaining: + - '764' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115413.694186,VS0,VE551 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/response_object + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"61gZVpISLDZRhPdKKv5Imc","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:45Z","updated_at":"2018-05-30T15:04:45Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:45 GMT'] - fastly-ratelimit-remaining: ['778'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692685.367802,VS0,VE163'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2KeMyRfhNiZvFvarw6FJyG","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:16:53Z","updated_at":"2019-04-24T14:16:53Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:53 GMT + fastly-ratelimit-remaining: + - '763' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115413.402384,VS0,VE535 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/settings + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"61gZVpISLDZRhPdKKv5Imc"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:46 GMT'] - fastly-ratelimit-remaining: ['777'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692686.587812,VS0,VE443'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2KeMyRfhNiZvFvarw6FJyG"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:54 GMT + fastly-ratelimit-remaining: + - '762' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115414.059843,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/activate + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:45Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:47 GMT'] - fastly-ratelimit-remaining: ['776'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692686.089213,VS0,VE927'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:53Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:56 GMT + fastly-ratelimit-remaining: + - '761' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115415.697653,VS0,VE1487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:56Z","deployed":false}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:47 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692687.073766,VS0,VE144'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115416.305973,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:47 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692687.274278,VS0,VE144'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":""}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115417.007543,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:56Z","deployed":false}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:47 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692687.478666,VS0,VE117'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115418.715237,VS0,VE168 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details + uri: https://api.fastly.com/service/2KeMyRfhNiZvFvarw6FJyG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2KeMyRfhNiZvFvarw6FJyG","staging":false,"created_at":"2019-04-24T14:16:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:16:56Z","deployed":false}],"created_at":"2019-04-24T14:16:38Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:16:38Z","id":"2KeMyRfhNiZvFvarw6FJyG","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:16:56Z","active":true,"number":2,"service_id":"2KeMyRfhNiZvFvarw6FJyG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:16:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:04:47 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692688.656364,VS0,VE115'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:16:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115418.015699,VS0,VE468 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml index a564f2e..11168d5 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml @@ -2,102 +2,192 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":""}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mRIcYSFRouDb6FG7PLIPo","staging":false,"created_at":"2019-04-24T14:14:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":""}],"created_at":"2019-04-24T14:14:27Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:27Z","id":"6mRIcYSFRouDb6FG7PLIPo"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692710.744571,VS0,VE139'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115285.094120,VS0,VE237 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"updated_at":"2019-04-24T14:14:27Z","service_id":"6mRIcYSFRouDb6FG7PLIPo","created_at":"2019-04-24T14:14:27Z","locked":false,"active":false,"deleted_at":null,"number":1,"deployed":false,"testing":false,"comment":"","staging":false},{"number":2,"testing":false,"deployed":false,"comment":"","service_id":"6mRIcYSFRouDb6FG7PLIPo","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:14:42Z","created_at":"2019-04-24T14:14:29Z","active":true}],"created_at":"2019-04-24T14:14:27Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:27Z","id":"6mRIcYSFRouDb6FG7PLIPo","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692710.941482,VS0,VE121'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115286.505377,VS0,VE521 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/deactivate + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}'} + body: + string: !!python/unicode '{"staging":false,"number":2,"testing":false,"deployed":false,"comment":"","service_id":"6mRIcYSFRouDb6FG7PLIPo","deleted_at":null,"active":false,"locked":true,"updated_at":"2019-04-24T14:14:42Z","created_at":"2019-04-24T14:14:29Z"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:10 GMT'] - fastly-ratelimit-remaining: ['753'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692710.121952,VS0,VE226'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:46 GMT + fastly-ratelimit-remaining: + - '829' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115286.220794,VS0,VE566 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:10 GMT'] - fastly-ratelimit-remaining: ['752'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692710.406517,VS0,VE484'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:47 GMT + fastly-ratelimit-remaining: + - '828' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115287.901948,VS0,VE526 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml index fb5b3d5..4ce23cf 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml @@ -2,439 +2,917 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['111'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:01 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692701.081881,VS0,VE113'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '111' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:26 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115267.593805,VS0,VE168 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"2b889c213c9f1c5f780f554dee6a4f91dafbd886","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:01Z","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['512'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:01 GMT'] - fastly-ratelimit-remaining: ['761'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692701.253669,VS0,VE149'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Fastly + Ansible Module Test","publish_key":"c754bb30dc7b699425d33856408da6417ac13a63","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mRIcYSFRouDb6FG7PLIPo","staging":false,"created_at":"2019-04-24T14:14:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:27Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:14:27Z","comment":"","updated_at":"2019-04-24T14:14:27Z","id":"6mRIcYSFRouDb6FG7PLIPo"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:27 GMT + fastly-ratelimit-remaining: + - '837' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115267.032481,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:01Z","active":false,"number":1,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:01Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1107'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692701.461604,VS0,VE437'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"staging":false,"comment":"","number":1,"deployed":false,"testing":false,"deleted_at":null,"service_id":"6mRIcYSFRouDb6FG7PLIPo","active":false,"locked":false,"created_at":"2019-04-24T14:14:27Z","updated_at":"2019-04-24T14:14:27Z"}],"name":"Fastly + Ansible Module Test","updated_at":"2019-04-24T14:14:27Z","deleted_at":null,"id":"6mRIcYSFRouDb6FG7PLIPo","created_at":"2019-04-24T14:14:27Z","version":{"staging":false,"comment":"","deleted_at":null,"created_at":"2019-04-24T14:14:27Z","service_id":"6mRIcYSFRouDb6FG7PLIPo","updated_at":"2019-04-24T14:14:27Z","testing":false,"active":false,"locked":false,"deployed":false,"number":1,"acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1107' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115269.837456,VS0,VE558 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/1/clone + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:02 GMT'] - fastly-ratelimit-remaining: ['760'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692702.955537,VS0,VE512'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6mRIcYSFRouDb6FG7PLIPo","staging":false,"created_at":"2019-04-24T14:14:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:27Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:30 GMT + fastly-ratelimit-remaining: + - '836' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115270.537817,VS0,VE596 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/domain + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692703.521727,VS0,VE426'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115270.373111,VS0,VE481 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/healthcheck + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692703.997723,VS0,VE411'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115271.068333,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/condition + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692703.460782,VS0,VE134'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115271.374466,VS0,VE503 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/backend + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692704.652341,VS0,VE456'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115272.092609,VS0,VE497 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/director + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692704.164676,VS0,VE139'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115273.711933,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/cache_settings + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692704.357943,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115273.310479,VS0,VE183 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/gzip + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692705.541459,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115274.614119,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/header + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692705.721940,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115274.235701,VS0,VE476 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/request_settings + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692705.903776,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115275.820273,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/response_object + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692705.091093,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115275.473275,VS0,VE182 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/snippet + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692705.269962,VS0,VE133'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115276.770213,VS0,VE495 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/logging/s3 + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692705.458898,VS0,VE415'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115276.402963,VS0,VE184 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/logging/syslog + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692706.932962,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:37 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115277.802879,VS0,VE471 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:37 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115277.418149,VS0,VE477 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/domain + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6QtbuNzxWZQy6sItdrPtLS","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:06Z","updated_at":"2018-05-30T15:05:06Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:06 GMT'] - fastly-ratelimit-remaining: ['759'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692706.122964,VS0,VE485'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6mRIcYSFRouDb6FG7PLIPo","version":2,"deleted_at":null,"created_at":"2019-04-24T14:14:38Z","updated_at":"2019-04-24T14:14:38Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:38 GMT + fastly-ratelimit-remaining: + - '835' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115278.034849,VS0,VE560 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -442,239 +920,448 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/backend + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6QtbuNzxWZQy6sItdrPtLS","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:07Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:07Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:07 GMT'] - fastly-ratelimit-remaining: ['758'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692707.662178,VS0,VE474'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6mRIcYSFRouDb6FG7PLIPo","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:14:39Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:14:39Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:39 GMT + fastly-ratelimit-remaining: + - '834' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115279.714674,VS0,VE584 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/header + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6QtbuNzxWZQy6sItdrPtLS","version":"2","updated_at":"2018-05-30T15:05:07Z","deleted_at":null,"created_at":"2018-05-30T15:05:07Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:07 GMT'] - fastly-ratelimit-remaining: ['757'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692707.194471,VS0,VE424'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6mRIcYSFRouDb6FG7PLIPo","version":"2","updated_at":"2019-04-24T14:14:39Z","created_at":"2019-04-24T14:14:39Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:40 GMT + fastly-ratelimit-remaining: + - '833' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115279.463928,VS0,VE542 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/response_object + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6QtbuNzxWZQy6sItdrPtLS","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:07Z","updated_at":"2018-05-30T15:05:07Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:07 GMT'] - fastly-ratelimit-remaining: ['756'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692708.745328,VS0,VE181'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6mRIcYSFRouDb6FG7PLIPo","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:14:40Z","updated_at":"2019-04-24T14:14:40Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:40 GMT + fastly-ratelimit-remaining: + - '832' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115280.194559,VS0,VE547 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 1000}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/settings + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6QtbuNzxWZQy6sItdrPtLS"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:08 GMT'] - fastly-ratelimit-remaining: ['755'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692708.988361,VS0,VE184'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_pci":0,"general.default_ttl":1000,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"service_id":"6mRIcYSFRouDb6FG7PLIPo","general.default_host":"","version":2}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:41 GMT + fastly-ratelimit-remaining: + - '831' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115281.854756,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/activate + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:07Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:08 GMT'] - fastly-ratelimit-remaining: ['754'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692708.227819,VS0,VE664'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mRIcYSFRouDb6FG7PLIPo","staging":false,"created_at":"2019-04-24T14:14:29Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:14:40Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:43 GMT + fastly-ratelimit-remaining: + - '830' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115282.516506,VS0,VE1533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"updated_at":"2019-04-24T14:14:27Z","service_id":"6mRIcYSFRouDb6FG7PLIPo","created_at":"2019-04-24T14:14:27Z","locked":false,"active":false,"deleted_at":null,"number":1,"deployed":false,"testing":false,"comment":"","staging":false},{"number":2,"testing":false,"deployed":false,"comment":"","service_id":"6mRIcYSFRouDb6FG7PLIPo","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:14:42Z","created_at":"2019-04-24T14:14:29Z","active":true}],"created_at":"2019-04-24T14:14:27Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:27Z","id":"6mRIcYSFRouDb6FG7PLIPo","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692709.950488,VS0,VE147'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115283.231252,VS0,VE564 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":""}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692709.156574,VS0,VE155'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"number":1,"deployed":false,"testing":false,"comment":"","service_id":"6mRIcYSFRouDb6FG7PLIPo","deleted_at":null,"staging":false,"locked":false,"updated_at":"2019-04-24T14:14:27Z","created_at":"2019-04-24T14:14:27Z","active":false},{"updated_at":"2019-04-24T14:14:42Z","testing":false,"active":true,"locked":true,"number":2,"deployed":false,"staging":false,"comment":"","created_at":"2019-04-24T14:14:29Z","deleted_at":null,"service_id":"6mRIcYSFRouDb6FG7PLIPo"}],"updated_at":"2019-04-24T14:14:27Z","name":"Fastly + Ansible Module Test","id":"6mRIcYSFRouDb6FG7PLIPo","created_at":"2019-04-24T14:14:27Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '686' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115284.927974,VS0,VE245 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"updated_at":"2019-04-24T14:14:27Z","service_id":"6mRIcYSFRouDb6FG7PLIPo","created_at":"2019-04-24T14:14:27Z","locked":false,"active":false,"deleted_at":null,"number":1,"deployed":false,"testing":false,"comment":"","staging":false},{"number":2,"testing":false,"deployed":false,"comment":"","service_id":"6mRIcYSFRouDb6FG7PLIPo","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:14:42Z","created_at":"2019-04-24T14:14:29Z","active":true}],"created_at":"2019-04-24T14:14:27Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:27Z","id":"6mRIcYSFRouDb6FG7PLIPo","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692709.368769,VS0,VE116'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115284.380952,VS0,VE174 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details + uri: https://api.fastly.com/service/6mRIcYSFRouDb6FG7PLIPo/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"updated_at":"2019-04-24T14:14:27Z","service_id":"6mRIcYSFRouDb6FG7PLIPo","created_at":"2019-04-24T14:14:27Z","locked":false,"active":false,"deleted_at":null,"number":1,"deployed":false,"testing":false,"comment":"","staging":false},{"number":2,"testing":false,"deployed":false,"comment":"","service_id":"6mRIcYSFRouDb6FG7PLIPo","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:14:42Z","created_at":"2019-04-24T14:14:29Z","active":true}],"created_at":"2019-04-24T14:14:27Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:14:27Z","id":"6mRIcYSFRouDb6FG7PLIPo","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:14:42Z","active":true,"number":2,"service_id":"6mRIcYSFRouDb6FG7PLIPo","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:14:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3993'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:05:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692710.546279,VS0,VE123'] - status: {code: 200, message: OK} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4015' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:14:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115285.687314,VS0,VE167 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml index dfc6992..4e4fcd5 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml @@ -2,107 +2,199 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","updated_at":"2019-04-24T13:08:07Z","deleted_at":null,"created_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2","comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"active":false,"created_at":"2019-04-24T13:08:07Z","service_id":"4k8eT6NUotURscyYeGR0D2","updated_at":"2019-04-24T13:08:07Z","locked":false,"staging":false,"deleted_at":null,"comment":"","testing":false,"number":1,"deployed":false},{"testing":false,"number":2,"deployed":false,"comment":"","deleted_at":null,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"locked":false,"updated_at":"2019-04-24T13:08:08Z","created_at":"2019-04-24T13:08:08Z","active":false},{"staging":false,"comment":"","service_id":"4k8eT6NUotURscyYeGR0D2","deleted_at":null,"created_at":"2019-04-24T14:08:59Z","testing":false,"updated_at":"2019-04-24T14:09:14Z","number":3,"deployed":false,"active":true,"locked":true}]}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692774.087568,VS0,VE149'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '919' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556114957.094448,VS0,VE539 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T14:08:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:14Z","deployed":false}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4853'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692774.293177,VS0,VE114'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4876' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556114958.720907,VS0,VE517 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/deactivate + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}'} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T14:08:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:14Z","deployed":false}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:14 GMT'] - fastly-ratelimit-remaining: ['685'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692774.467543,VS0,VE470'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:18 GMT + fastly-ratelimit-remaining: + - '991' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556114958.324773,VS0,VE569 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2 + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2 response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:15 GMT'] - fastly-ratelimit-remaining: ['684'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692775.996385,VS0,VE160'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:19 GMT + fastly-ratelimit-remaining: + - '990' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19178-FRA + x-timer: + - S1556114959.053325,VS0,VE570 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml index 4982c3c..eab5ab6 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml @@ -2,518 +2,867 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['686'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692762.301386,VS0,VE154'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '688' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:08:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19166-FRA + x-timer: + - S1556114938.739620,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4047'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692763.509707,VS0,VE379'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T13:08:08Z","active":false,"number":2,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T13:08:08Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1340' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:08:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556114938.366423,VS0,VE549 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/clone + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:03 GMT'] - fastly-ratelimit-remaining: ['697'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692763.946765,VS0,VE488'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false}' headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain - response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","created_at":"2018-05-30T15:05:59Z","comment":"","updated_at":"2018-05-30T15:05:59Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['181'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692763.495676,VS0,VE388'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:08:59 GMT + fastly-ratelimit-remaining: + - '999' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556114939.026300,VS0,VE635 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/healthcheck + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692764.941706,VS0,VE417'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556114940.803373,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/condition + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692764.410746,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556114940.420134,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/condition response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:59Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:59Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692765.592990,VS0,VE134'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556114941.132816,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/director + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692765.781680,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556114942.874578,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/cache_settings + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692765.964002,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556114943.572624,VS0,VE183 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/gzip + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692765.145756,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556114943.981842,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/gzip response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"7OAhzqSh0dQSAyFB213yD2","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:59Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:59Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692765.324612,VS0,VE388'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556114944.706146,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/request_settings + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692766.769583,VS0,VE384'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556114944.306726,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/request_settings response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","cache_condition":"","created_at":"2018-05-30T15:06:00Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-30T15:06:00Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['307'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692766.210458,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556114945.899451,VS0,VE544 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/snippet + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692766.387036,VS0,VE387'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556114946.586665,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/logging/s3 + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:06 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692767.829942,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556114946.258663,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/logging/syslog + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:07 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692767.009232,VS0,VE127'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '[]' headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:07 GMT'] - fastly-ratelimit-remaining: ['696'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692767.195218,VS0,VE458'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556114947.974653,VS0,VE522 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend/localhost + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/logging/syslog response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:08 GMT'] - fastly-ratelimit-remaining: ['695'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692768.712629,VS0,VE435'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '[]' headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:08 GMT'] - fastly-ratelimit-remaining: ['694'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692768.206567,VS0,VE428'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556114948.694741,VS0,VE492 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object/Set%20200%20status%20code + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/logging/cloudfiles response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:09 GMT'] - fastly-ratelimit-remaining: ['693'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692769.693788,VS0,VE440'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556114948.415000,VS0,VE510 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7OAhzqSh0dQSAyFB213yD2","version":3,"deleted_at":null,"created_at":"2018-05-30T15:06:09Z","updated_at":"2018-05-30T15:06:09Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['179'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:09 GMT'] - fastly-ratelimit-remaining: ['692'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692769.191657,VS0,VE568'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4k8eT6NUotURscyYeGR0D2","version":3,"deleted_at":null,"created_at":"2019-04-24T14:09:09Z","updated_at":"2019-04-24T14:09:09Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '169' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:09 GMT + fastly-ratelimit-remaining: + - '998' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556114949.059636,VS0,VE558 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -521,283 +870,514 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:06:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:06:10Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:10 GMT'] - fastly-ratelimit-remaining: ['691'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692770.813668,VS0,VE470'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4k8eT6NUotURscyYeGR0D2","version":3,"ssl_check_cert":true,"comment":"","auto_loadbalance":false,"ipv4":"127.0.0.1","ipv6":null,"created_at":"2019-04-24T14:09:10Z","hostname":null,"ssl_sni_hostname":null,"deleted_at":null,"client_cert":null,"updated_at":"2019-04-24T14:09:10Z","override_host":null,"ssl_ciphers":null,"use_ssl":false,"ssl_client_key":null,"max_tls_version":null,"min_tls_version":null,"ssl_client_cert":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:10 GMT + fastly-ratelimit-remaining: + - '997' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556114950.841768,VS0,VE595 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","updated_at":"2018-05-30T15:06:10Z","deleted_at":null,"created_at":"2018-05-30T15:06:10Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:10 GMT'] - fastly-ratelimit-remaining: ['690'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692770.338337,VS0,VE152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4k8eT6NUotURscyYeGR0D2","version":"3","updated_at":"2019-04-24T14:09:10Z","deleted_at":null,"created_at":"2019-04-24T14:09:10Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:10 GMT + fastly-ratelimit-remaining: + - '996' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556114951.658544,VS0,VE235 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set 200 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/response_object response: - body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:10Z","updated_at":"2018-05-30T15:06:10Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:10 GMT'] - fastly-ratelimit-remaining: ['689'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692771.548133,VS0,VE154'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4k8eT6NUotURscyYeGR0D2","version":"3","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:09:11Z","updated_at":"2019-04-24T14:09:11Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:11 GMT + fastly-ratelimit-remaining: + - '995' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19121-FRA + x-timer: + - S1556114951.069272,VS0,VE625 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"content": "\n if (resp.status >= 500 && resp.status < 600) {\n if (stale.exists) {\n restart;\n }\n }\n ", "dynamic": 0, "type": "deliver", "name": "Deliver stale content", "priority": 100}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/snippet + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/snippet response: - body: {string: !!python/unicode '{"content":"\n if (resp.status \u003e= + body: + string: !!python/unicode '{"content":"\n if (resp.status \u003e= 500 \u0026\u0026 resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":0,"type":"deliver","name":"Deliver - stale content","priority":100,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","deleted_at":null,"created_at":"2018-05-30T15:06:11Z","updated_at":"2018-05-30T15:06:11Z","id":"7hOi0dRGR2OJ79kBLJYdXs"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['452'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:11 GMT'] - fastly-ratelimit-remaining: ['688'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692771.761676,VS0,VE434'] - status: {code: 200, message: OK} + stale content","priority":100,"service_id":"4k8eT6NUotURscyYeGR0D2","version":"3","updated_at":"2019-04-24T14:09:12Z","id":"4iSEgWEuvXkh6OWk70FQxG","created_at":"2019-04-24T14:09:12Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '452' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:12 GMT + fastly-ratelimit-remaining: + - '994' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556114952.809730,VS0,VE525 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/settings + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7OAhzqSh0dQSAyFB213yD2"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:11 GMT'] - fastly-ratelimit-remaining: ['687'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692771.251318,VS0,VE474'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"service_id":"4k8eT6NUotURscyYeGR0D2","general.default_host":"","version":3}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:12 GMT + fastly-ratelimit-remaining: + - '993' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556114952.477674,VS0,VE253 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/activate + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:11Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:12 GMT'] - fastly-ratelimit-remaining: ['686'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692772.784834,VS0,VE915'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T14:08:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:12Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:14 GMT + fastly-ratelimit-remaining: + - '992' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556114953.823205,VS0,VE1602 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T14:08:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:14Z","deployed":false}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4853'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692773.757282,VS0,VE419'] - status: {code: 200, message: OK} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4876' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:14 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556114955.537396,VS0,VE245 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['918'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692773.237672,VS0,VE431'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":""}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '919' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556114955.899109,VS0,VE625 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T14:08:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:14Z","deployed":false}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4853'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692774.725454,VS0,VE112'] - status: {code: 200, message: OK} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4876' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556114956.645997,VS0,VE470 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details + uri: https://api.fastly.com/service/4k8eT6NUotURscyYeGR0D2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:07Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:07Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T13:08:08Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:08:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4k8eT6NUotURscyYeGR0D2","staging":false,"created_at":"2019-04-24T14:08:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:14Z","deployed":false}],"created_at":"2019-04-24T13:08:07Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:08:07Z","id":"4k8eT6NUotURscyYeGR0D2","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:14Z","active":true,"number":3,"service_id":"4k8eT6NUotURscyYeGR0D2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:08:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4853'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:06:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692774.895982,VS0,VE118'] - status: {code: 200, message: OK} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"4iSEgWEuvXkh6OWk70FQxG"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4876' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19163-FRA + x-timer: + - S1556114956.301892,VS0,VE537 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/tearDown b/tests/fixtures/cassettes/tearDown index 02b33e8..4ab24df 100644 --- a/tests/fixtures/cassettes/tearDown +++ b/tests/fixtures/cassettes/tearDown @@ -2,99 +2,193 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":""}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0"}'} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:37Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:37Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:39Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:34Z","active":true,"number":3,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:21Z","comment":""}],"created_at":"2019-04-24T13:04:37Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:04:37Z","id":"3rBOh6pmK5fbSa5ji4kOG5"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['925'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692541.173844,VS0,VE432'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '925' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556114975.405695,VS0,VE256 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"active":false,"locked":false,"updated_at":"2019-04-24T13:04:37Z","service_id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T13:04:37Z","staging":false,"number":1,"deployed":false,"testing":false,"comment":"","deleted_at":null},{"created_at":"2019-04-24T13:04:39Z","updated_at":"2019-04-24T13:04:39Z","service_id":"3rBOh6pmK5fbSa5ji4kOG5","locked":false,"active":false,"deleted_at":null,"comment":"","number":2,"deployed":false,"testing":false,"staging":false},{"active":true,"locked":true,"updated_at":"2019-04-24T14:09:34Z","service_id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T14:09:21Z","staging":false,"deployed":false,"testing":false,"number":3,"comment":"","deleted_at":null}],"updated_at":"2019-04-24T13:04:37Z","name":"Jimdo + Fastly Ansible Module Test","id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T13:04:37Z","deleted_at":null,"version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:09:34Z","testing":false,"created_at":"2019-04-24T14:09:21Z","deleted_at":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":"my-backend.example.net","ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"hostname":"my-backend.example.net","max_conn":200,"ssl_client_key":null,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":true,"ipv6":null,"name":"my-backend.example.net","port":443,"request_condition":"","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"error_threshold":0,"ipv4":null,"ssl_cert_hostname":null,"address":"my-backend.example.net","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:09:34Z","testing":false,"created_at":"2019-04-24T14:09:21Z","deleted_at":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":"my-backend.example.net","ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"hostname":"my-backend.example.net","max_conn":200,"ssl_client_key":null,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":true,"ipv6":null,"name":"my-backend.example.net","port":443,"request_condition":"","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"error_threshold":0,"ipv4":null,"ssl_cert_hostname":null,"address":"my-backend.example.net","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3544'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692542.664187,VS0,VE111'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '3566' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556114976.850046,VS0,VE474 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/deactivate + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}'} + body: + string: !!python/unicode '{"staging":false,"deployed":false,"testing":false,"number":3,"comment":"","deleted_at":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","active":false,"locked":true,"updated_at":"2019-04-24T14:09:34Z","created_at":"2019-04-24T14:09:21Z"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:22 GMT'] - fastly-ratelimit-remaining: ['935'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692542.828083,VS0,VE513'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:37 GMT + fastly-ratelimit-remaining: + - '984' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556114977.527789,VS0,VE580 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0 + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5 response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: + string: !!python/unicode '{"status":"ok"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:22 GMT'] - fastly-ratelimit-remaining: ['934'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692542.398072,VS0,VE434'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:37 GMT + fastly-ratelimit-remaining: + - '983' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556114977.290551,VS0,VE528 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert index a3ed86d..bbf12b2 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert +++ b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert @@ -2,517 +2,868 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['694'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692530.174583,VS0,VE418'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:37Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:37Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:39Z","deployed":false}],"created_at":"2019-04-24T13:04:37Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T13:04:37Z","id":"3rBOh6pmK5fbSa5ji4kOG5"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '694' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556114960.804693,VS0,VE524 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T14:40:24Z","active":false,"number":2,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T14:40:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2376'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692531.648692,VS0,VE2152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"deleted_at":null,"id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T13:04:37Z","name":"Jimdo + Fastly Ansible Module Test","updated_at":"2019-04-24T13:04:37Z","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:37Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:37Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:39Z","deployed":false}],"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","version":{"updated_at":"2019-04-24T13:04:39Z","testing":false,"locked":false,"active":false,"deployed":false,"number":2,"comment":"","staging":false,"created_at":"2019-04-24T13:04:39Z","deleted_at":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_host":"","general.default_ttl":3600,"general.default_pci":0,"general.stale_if_error_ttl":43200,"general.stale_if_error":false}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1346' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556114960.484170,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/2/clone + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:13 GMT'] - fastly-ratelimit-remaining: ['944'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692533.856283,VS0,VE489'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T13:04:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T13:04:39Z","deployed":false}' headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain - response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","created_at":"2018-05-30T14:40:23Z","comment":"test1","updated_at":"2018-05-30T14:40:23Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692533.404113,VS0,VE145'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:21 GMT + fastly-ratelimit-remaining: + - '989' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556114961.206701,VS0,VE596 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/healthcheck + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692534.602631,VS0,VE131'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556114962.918825,VS0,VE543 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/condition + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692534.786660,VS0,VE413'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556114963.637669,VS0,VE478 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/condition response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T14:40:23Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T14:40:23Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692534.253429,VS0,VE449'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556114963.259318,VS0,VE537 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/director + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:14 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692535.766080,VS0,VE152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556114964.975633,VS0,VE492 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/cache_settings + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692535.980747,VS0,VE385'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556114965.694114,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/gzip + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692535.424133,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556114965.403165,VS0,VE492 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/header + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/gzip response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"2uKIal1ukEDTfTuaWrjxF0","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T14:40:24Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T14:40:24Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692536.615633,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556114966.008943,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/request_settings + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:15 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692536.794155,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556114967.579482,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/response_object + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/request_settings response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","cache_condition":"","created_at":"2018-05-30T14:40:24Z","content_type":"","request_condition":"","updated_at":"2018-05-30T14:40:24Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692536.970441,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556114967.222248,VS0,VE536 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/snippet + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692536.155048,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19128-FRA + x-timer: + - S1556114968.945889,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/logging/s3 + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692536.343651,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556114969.686650,VS0,VE181 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/logging/syslog + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:16 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692537.531078,VS0,VE162'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '[]' headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain/cdn.example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:17 GMT'] - fastly-ratelimit-remaining: ['943'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692537.753013,VS0,VE426'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556114969.091223,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend/localhost + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/logging/syslog response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:17 GMT'] - fastly-ratelimit-remaining: ['942'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692537.237397,VS0,VE437'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: !!python/unicode '[]' headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:17 GMT'] - fastly-ratelimit-remaining: ['941'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692538.727312,VS0,VE164'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19182-FRA + x-timer: + - S1556114970.733723,VS0,VE486 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/response_object/Set%20302%20status%20code + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/logging/cloudfiles response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:18 GMT'] - fastly-ratelimit-remaining: ['940'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692538.947760,VS0,VE433'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556114970.425693,VS0,VE483 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"2uKIal1ukEDTfTuaWrjxF0","version":3,"deleted_at":null,"created_at":"2018-05-30T15:02:18Z","updated_at":"2018-05-30T15:02:18Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['183'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:18 GMT'] - fastly-ratelimit-remaining: ['939'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692538.434545,VS0,VE495'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3rBOh6pmK5fbSa5ji4kOG5","version":3,"deleted_at":null,"created_at":"2019-04-24T14:09:31Z","updated_at":"2019-04-24T14:09:31Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '173' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:31 GMT + fastly-ratelimit-remaining: + - '988' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556114971.035766,VS0,VE515 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend.example.net", "weight": 100, "healthcheck": null, "first_byte_timeout": @@ -520,102 +871,196 @@ interactions: "my-backend.example.net", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": "my-backend.example.net", "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":443,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:19Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-30T15:02:19Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['775'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:19 GMT'] - fastly-ratelimit-remaining: ['938'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692539.981909,VS0,VE444'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":443,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2019-04-24T14:09:32Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2019-04-24T14:09:32Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '796' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:32 GMT + fastly-ratelimit-remaining: + - '987' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19170-FRA + x-timer: + - S1556114972.667131,VS0,VE578 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/settings + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2uKIal1ukEDTfTuaWrjxF0"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:19 GMT'] - fastly-ratelimit-remaining: ['937'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692539.480392,VS0,VE290'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"version":3,"general.default_host":"","service_id":"3rBOh6pmK5fbSa5ji4kOG5","general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_pci":0}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:32 GMT + fastly-ratelimit-remaining: + - '986' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556114972.422652,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/activate + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:19Z","deployed":false,"msg":"Warning: + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"created_at":"2019-04-24T14:09:21Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:32Z","deployed":false,"msg":"Warning: Backend host `my-backend.example.net` could not be resolved to an IP address: - Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend.example.net\";\n-----####----------------------------"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['458'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:20 GMT'] - fastly-ratelimit-remaining: ['936'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692540.829317,VS0,VE1063'] - status: {code: 200, message: OK} + Name or service not known"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '351' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:34 GMT + fastly-ratelimit-remaining: + - '985' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19127-FRA + x-timer: + - S1556114973.193145,VS0,VE1578 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details + uri: https://api.fastly.com/service/3rBOh6pmK5fbSa5ji4kOG5/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['3544'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692541.947985,VS0,VE151'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"active":false,"locked":false,"updated_at":"2019-04-24T13:04:37Z","service_id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T13:04:37Z","staging":false,"number":1,"deployed":false,"testing":false,"comment":"","deleted_at":null},{"created_at":"2019-04-24T13:04:39Z","updated_at":"2019-04-24T13:04:39Z","service_id":"3rBOh6pmK5fbSa5ji4kOG5","locked":false,"active":false,"deleted_at":null,"comment":"","number":2,"deployed":false,"testing":false,"staging":false},{"active":true,"locked":true,"updated_at":"2019-04-24T14:09:34Z","service_id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T14:09:21Z","staging":false,"deployed":false,"testing":false,"number":3,"comment":"","deleted_at":null}],"updated_at":"2019-04-24T13:04:37Z","name":"Jimdo + Fastly Ansible Module Test","id":"3rBOh6pmK5fbSa5ji4kOG5","created_at":"2019-04-24T13:04:37Z","deleted_at":null,"version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:09:34Z","testing":false,"created_at":"2019-04-24T14:09:21Z","deleted_at":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":"my-backend.example.net","ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"hostname":"my-backend.example.net","max_conn":200,"ssl_client_key":null,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":true,"ipv6":null,"name":"my-backend.example.net","port":443,"request_condition":"","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"error_threshold":0,"ipv4":null,"ssl_cert_hostname":null,"address":"my-backend.example.net","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":{"active":true,"locked":true,"deployed":false,"number":3,"updated_at":"2019-04-24T14:09:34Z","testing":false,"created_at":"2019-04-24T14:09:21Z","deleted_at":null,"service_id":"3rBOh6pmK5fbSa5ji4kOG5","staging":false,"comment":"","acls":[],"backends":[{"ssl_hostname":"my-backend.example.net","ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"connect_timeout":1000,"weight":100,"min_tls_version":null,"max_tls_version":null,"hostname":"my-backend.example.net","max_conn":200,"ssl_client_key":null,"ssl_sni_hostname":null,"healthcheck":null,"ssl_ciphers":null,"use_ssl":true,"ipv6":null,"name":"my-backend.example.net","port":443,"request_condition":"","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"error_threshold":0,"ipv4":null,"ssl_cert_hostname":null,"address":"my-backend.example.net","ssl_ca_cert":null,"override_host":null,"ssl_check_cert":true}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '3566' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556114975.881080,VS0,VE240 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_port_not_required b/tests/fixtures/cassettes/test_fastly_backend_port_not_required index 2f8ce49..9f683f4 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_port_not_required +++ b/tests/fixtures/cassettes/test_fastly_backend_port_not_required @@ -2,440 +2,916 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Jimdo Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['117'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:23 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692543.901196,VS0,VE122'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Jimdo Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '117' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:38 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556114978.028407,VS0,VE480 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"d478db778729366f9e819fed0dcdff526619d976","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:02:23Z","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['518'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:23 GMT'] - fastly-ratelimit-remaining: ['933'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692543.076768,VS0,VE440'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Jimdo + Fastly Ansible Module Test","publish_key":"cdd4b8e8ca7e69a2dcd6cf7eb5978261ee00c223","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:09:39Z","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '518' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:39 GMT + fastly-ratelimit-remaining: + - '982' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556114979.620579,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:23Z","active":false,"number":1,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:02:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1113'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:23 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692544.575613,VS0,VE197'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"staging":false,"deleted_at":null,"comment":"","testing":false,"number":1,"deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:39Z","active":false,"number":1,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:09:39Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1113' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:39 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556114979.381042,VS0,VE542 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/1/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:24 GMT'] - fastly-ratelimit-remaining: ['932'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692544.831735,VS0,VE489'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:40 GMT + fastly-ratelimit-remaining: + - '981' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556114980.045913,VS0,VE599 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:24 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692544.370340,VS0,VE433'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19175-FRA + x-timer: + - S1556114981.760932,VS0,VE575 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:24 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692545.860866,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19143-FRA + x-timer: + - S1556114981.481321,VS0,VE495 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:25 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692545.044839,VS0,VE388'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556114982.086140,VS0,VE477 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:25 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692545.488200,VS0,VE389'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19164-FRA + x-timer: + - S1556114983.725638,VS0,VE498 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692546.934422,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556114983.401621,VS0,VE497 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/cache_settings + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19178-FRA + x-timer: + - S1556114984.011226,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692546.116650,VS0,VE385'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19156-FRA + x-timer: + - S1556114985.655428,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692547.560726,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556114985.267369,VS0,VE475 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692547.743312,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556114986.884701,VS0,VE497 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692547.925362,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556114987.603536,VS0,VE542 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692547.109645,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556114987.294263,VS0,VE185 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692547.292581,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556114988.626305,VS0,VE532 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692547.467854,VS0,VE390'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556114988.337909,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692548.916676,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556114989.054818,VS0,VE493 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":2,"deleted_at":null,"created_at":"2018-05-30T15:02:28Z","updated_at":"2018-05-30T15:02:28Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['183'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:28 GMT'] - fastly-ratelimit-remaining: ['931'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692548.093940,VS0,VE280'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":2,"created_at":"2019-04-24T14:09:50Z","deleted_at":null,"updated_at":"2019-04-24T14:09:50Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '173' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:50 GMT + fastly-ratelimit-remaining: + - '980' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556114990.670920,VS0,VE611 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -443,160 +919,301 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:28Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:28 GMT'] - fastly-ratelimit-remaining: ['930'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692548.429189,VS0,VE466'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":2,"client_cert":null,"ssl_sni_hostname":null,"deleted_at":null,"created_at":"2019-04-24T14:09:50Z","hostname":null,"ipv6":null,"ipv4":"127.0.0.1","auto_loadbalance":false,"comment":"","ssl_check_cert":true,"ssl_client_cert":null,"min_tls_version":null,"max_tls_version":null,"ssl_client_key":null,"use_ssl":false,"ssl_ciphers":null,"override_host":null,"updated_at":"2019-04-24T14:09:50Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:50 GMT + fastly-ratelimit-remaining: + - '979' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556114990.397972,VS0,VE573 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"2","updated_at":"2018-05-30T15:02:29Z","deleted_at":null,"created_at":"2018-05-30T15:02:29Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:29 GMT'] - fastly-ratelimit-remaining: ['929'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692549.951483,VS0,VE212'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"2","updated_at":"2019-04-24T14:09:51Z","deleted_at":null,"created_at":"2019-04-24T14:09:51Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:51 GMT + fastly-ratelimit-remaining: + - '978' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556114991.130228,VS0,VE574 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:29Z","updated_at":"2018-05-30T15:02:29Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:29 GMT'] - fastly-ratelimit-remaining: ['928'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692549.218170,VS0,VE480'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:09:52Z","updated_at":"2019-04-24T14:09:52Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:52 GMT + fastly-ratelimit-remaining: + - '977' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556114992.930627,VS0,VE586 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:29 GMT'] - fastly-ratelimit-remaining: ['927'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692550.757471,VS0,VE180'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:53 GMT + fastly-ratelimit-remaining: + - '976' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556114993.656562,VS0,VE550 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:29Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:30 GMT'] - fastly-ratelimit-remaining: ['926'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692550.992594,VS0,VE895'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:52Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:54 GMT + fastly-ratelimit-remaining: + - '975' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556114993.317929,VS0,VE1584 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4005'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692551.945609,VS0,VE144'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:54Z","deployed":false}],"updated_at":"2019-04-24T14:09:39Z","name":"Jimdo + Fastly Ansible Module Test","id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:09:39Z","deleted_at":null,"version":{"locked":true,"active":true,"number":2,"deployed":false,"updated_at":"2019-04-24T14:09:54Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","comment":"","staging":false,"acls":[],"backends":[{"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_hostname":null,"min_tls_version":null,"weight":100,"max_tls_version":null,"connect_timeout":1000,"ssl_sni_hostname":null,"healthcheck":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[{"request_condition":null,"type":"response","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":""}],"healthchecks":[],"request_settings":[],"response_objects":[{"status":"302","name":"Set + 302 status code","content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}},"active_version":{"locked":true,"active":true,"number":2,"deployed":false,"updated_at":"2019-04-24T14:09:54Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","comment":"","staging":false,"acls":[],"backends":[{"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_hostname":null,"min_tls_version":null,"weight":100,"max_tls_version":null,"connect_timeout":1000,"ssl_sni_hostname":null,"healthcheck":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[{"request_condition":null,"type":"response","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":""}],"healthchecks":[],"request_settings":[],"response_objects":[{"status":"302","name":"Set + 302 status code","content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4027' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556114995.082126,VS0,VE551 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_weight_even b/tests/fixtures/cassettes/test_fastly_backend_weight_even index ce34e49..07ffaf4 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_weight_even +++ b/tests/fixtures/cassettes/test_fastly_backend_weight_even @@ -2,518 +2,1066 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['692'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692551.198982,VS0,VE150'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:09:54Z","active":true,"number":2,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:40Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '692' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556114996.963248,VS0,VE555 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4005'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692551.406088,VS0,VE164'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:54Z","deployed":false}],"updated_at":"2019-04-24T14:09:39Z","name":"Jimdo + Fastly Ansible Module Test","id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:09:39Z","deleted_at":null,"version":{"locked":true,"active":true,"number":2,"deployed":false,"updated_at":"2019-04-24T14:09:54Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","comment":"","staging":false,"acls":[],"backends":[{"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_hostname":null,"min_tls_version":null,"weight":100,"max_tls_version":null,"connect_timeout":1000,"ssl_sni_hostname":null,"healthcheck":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[{"request_condition":null,"type":"response","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":""}],"healthchecks":[],"request_settings":[],"response_objects":[{"status":"302","name":"Set + 302 status code","content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}},"active_version":{"locked":true,"active":true,"number":2,"deployed":false,"updated_at":"2019-04-24T14:09:54Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","comment":"","staging":false,"acls":[],"backends":[{"ssl_client_cert":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_hostname":null,"min_tls_version":null,"weight":100,"max_tls_version":null,"connect_timeout":1000,"ssl_sni_hostname":null,"healthcheck":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","first_byte_timeout":15000,"comment":"","shield":null,"auto_loadbalance":false,"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":""}],"gzips":[],"headers":[{"request_condition":null,"type":"response","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":""}],"healthchecks":[],"request_settings":[],"response_objects":[{"status":"302","name":"Set + 302 status code","content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4027' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556114997.618605,VS0,VE476 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:32 GMT'] - fastly-ratelimit-remaining: ['925'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692552.630363,VS0,VE467'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:54Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:57 GMT + fastly-ratelimit-remaining: + - '974' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556114997.200942,VS0,VE612 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:28Z","comment":"","updated_at":"2018-05-30T15:02:28Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['185'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692552.159970,VS0,VE394'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"created_at":"2019-04-24T14:09:50Z","comment":"","updated_at":"2019-04-24T14:09:57Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '175' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556114999.895824,VS0,VE257 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692553.609486,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:09:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556114999.278213,VS0,VE486 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692553.796463,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115000.878657,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:28Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:28Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:33 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692553.977432,VS0,VE427'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"ssl_cert_hostname":null,"override_host":null,"updated_at":"2019-04-24T14:09:57Z","version":3,"request_condition":"","port":80,"first_byte_timeout":15000,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"use_ssl":false,"ssl_ciphers":null,"ssl_client_cert":null,"between_bytes_timeout":10000,"min_tls_version":null,"max_tls_version":null,"connect_timeout":1000,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_check_cert":true,"error_threshold":0,"ipv4":"127.0.0.1","comment":"","auto_loadbalance":false,"shield":null,"deleted_at":null,"ssl_sni_hostname":null,"created_at":"2019-04-24T14:09:50Z","hostname":null,"ipv6":null,"name":"localhost","client_cert":null,"ssl_hostname":null,"weight":100,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115001.540625,VS0,VE519 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:33 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692553.457935,VS0,VE452'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115001.241382,VS0,VE563 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692554.970004,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115002.961441,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692554.141905,VS0,VE142'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115003.575901,VS0,VE185 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/header + response: + body: + string: !!python/unicode '[{"priority":"10","service_id":"7hessp2jFvpG3vKHOQ1tTj","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:09:57Z","version":"3","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:09:51Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '414' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115003.985043,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/request_settings response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:29Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:29Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692554.342899,VS0,VE139'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115004.604141,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692555.538933,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"302","version":"3","name":"Set + 302 status code","content":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:09:52Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:09:57Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115004.214627,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/snippet response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:29Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:29Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:34 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692555.727096,VS0,VE131'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115005.830428,VS0,VE477 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692555.918298,VS0,VE390'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115005.403312,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692555.364189,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115006.979642,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692556.836686,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115006.281348,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:36 GMT'] - fastly-ratelimit-remaining: ['924'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692556.013840,VS0,VE441'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:07 GMT + fastly-ratelimit-remaining: + - '973' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115007.886819,VS0,VE272 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend/localhost + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:36 GMT'] - fastly-ratelimit-remaining: ['923'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692557.511444,VS0,VE472'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:07 GMT + fastly-ratelimit-remaining: + - '972' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115007.269518,VS0,VE615 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:37 GMT'] - fastly-ratelimit-remaining: ['922'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692557.042384,VS0,VE430'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:08 GMT + fastly-ratelimit-remaining: + - '971' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115008.110953,VS0,VE608 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/response_object/Set%20302%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:37 GMT'] - fastly-ratelimit-remaining: ['921'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692558.534101,VS0,VE161'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:09 GMT + fastly-ratelimit-remaining: + - '970' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115009.844338,VS0,VE600 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"deleted_at":null,"created_at":"2018-05-30T15:02:37Z","updated_at":"2018-05-30T15:02:37Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['183'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:38 GMT'] - fastly-ratelimit-remaining: ['920'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692558.754494,VS0,VE250'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":3,"deleted_at":null,"created_at":"2019-04-24T14:10:10Z","updated_at":"2019-04-24T14:10:10Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '173' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:10 GMT + fastly-ratelimit-remaining: + - '969' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115010.557524,VS0,VE569 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend1.example.net", "weight": 50, "healthcheck": null, "first_byte_timeout": @@ -521,28 +1069,51 @@ interactions: "my-backend1.example.net", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['757'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:38 GMT'] - fastly-ratelimit-remaining: ['919'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692558.063628,VS0,VE181'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2019-04-24T14:10:10Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:10:10Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '778' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:10 GMT + fastly-ratelimit-remaining: + - '968' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115010.258312,VS0,VE587 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend2.example.net", "weight": 50, "healthcheck": null, "first_byte_timeout": @@ -550,106 +1121,197 @@ interactions: "my-backend2.example.net", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['757'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:38 GMT'] - fastly-ratelimit-remaining: ['918'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692558.304020,VS0,VE468'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2019-04-24T14:10:11Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:10:11Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '778' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:11 GMT + fastly-ratelimit-remaining: + - '967' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115011.976368,VS0,VE299 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:39 GMT'] - fastly-ratelimit-remaining: ['917'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692559.829916,VS0,VE440'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:11 GMT + fastly-ratelimit-remaining: + - '966' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115012.501300,VS0,VE244 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:38Z","deployed":false,"msg":"Warning: - Backend host `my-backend1.example.net` could not be resolved to an IP address: - Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend1.example.net\";\n-----####-----------------------------\n\nWarning: - Backend host `my-backend2.example.net` could not be resolved to an IP address: - Name or service not known\nat: (input Line 32 Pos 6)\n .host = \"my-backend2.example.net\";\n-----####-----------------------------\n\nWarning: + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:11Z","deployed":false,"msg":"Warning: Unused backend `F_my_backend2_example_net`\nat: (input Line 28 Pos 9)\nbackend - F_my_backend2_example_net {\n--------#########################--"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['843'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:40 GMT'] - fastly-ratelimit-remaining: ['916'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692559.326521,VS0,VE910'] - status: {code: 200, message: OK} + F_my_backend2_example_net {\n--------#########################--\n\nWarning: + Backend host `my-backend2.example.net` could not be resolved to an IP address: + Name or service not known\n\nWarning: Backend host `my-backend1.example.net` + could not be resolved to an IP address: Name or service not known"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '625' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:13 GMT + fastly-ratelimit-remaining: + - '965' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115012.903051,VS0,VE1514 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4743'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692560.292628,VS0,VE150'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:13Z","active":true,"number":3,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:13Z","active":true,"number":3,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4807' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:14 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115014.632260,VS0,VE532 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required index 29d04df..a4a6a36 100644 --- a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required +++ b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required @@ -2,488 +2,1006 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['924'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692561.620241,VS0,VE153'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:13Z","active":true,"number":3,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:57Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '924' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115015.605243,VS0,VE553 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4743'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:40 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692561.831442,VS0,VE113'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:13Z","active":true,"number":3,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:13Z","active":true,"number":3,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:09:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4807' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115015.402187,VS0,VE170 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/3/clone + response: + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:16 GMT + fastly-ratelimit-remaining: + - '964' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115016.692707,VS0,VE599 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:41 GMT'] - fastly-ratelimit-remaining: ['915'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692561.998629,VS0,VE211'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"created_at":"2019-04-24T14:10:10Z","comment":"","updated_at":"2019-04-24T14:10:16Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '175' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115016.499910,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/healthcheck response: - body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:37Z","comment":"","updated_at":"2018-05-30T15:02:37Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['185'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692561.268853,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115017.094426,VS0,VE481 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692561.458358,VS0,VE391'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115018.726529,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692562.910522,VS0,VE391'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"weight":50,"client_cert":null,"address":"my-backend1.example.net","updated_at":"2019-04-24T14:10:16Z","ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:10:10Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"weight":50,"client_cert":null,"address":"my-backend2.example.net","updated_at":"2019-04-24T14:10:16Z","ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:10:11Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1559' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115018.333659,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/director response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-30T15:02:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-30T15:02:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1517'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692562.359680,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19121-FRA + x-timer: + - S1556115019.973450,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692563.546690,VS0,VE391'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115020.674423,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692563.996423,VS0,VE390'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19175-FRA + x-timer: + - S1556115020.299763,VS0,VE198 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692563.445921,VS0,VE410'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115021.614690,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692564.910931,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115021.258503,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692564.093715,VS0,VE131'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19128-FRA + x-timer: + - S1556115022.833648,VS0,VE500 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692564.285967,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115023.517720,VS0,VE489 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692564.475285,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115023.098047,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692565.660159,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19182-FRA + x-timer: + - S1556115024.742707,VS0,VE537 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692565.835111,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19122-FRA + x-timer: + - S1556115024.369924,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:45 GMT'] - fastly-ratelimit-remaining: ['914'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692565.018878,VS0,VE491'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:25 GMT + fastly-ratelimit-remaining: + - '963' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19178-FRA + x-timer: + - S1556115025.967312,VS0,VE284 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend/my-backend1.example.net + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/backend/my-backend1.example.net response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:46 GMT'] - fastly-ratelimit-remaining: ['913'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692566.570988,VS0,VE466'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:25 GMT + fastly-ratelimit-remaining: + - '962' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115025.340275,VS0,VE640 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend/my-backend2.example.net + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/backend/my-backend2.example.net response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:46 GMT'] - fastly-ratelimit-remaining: ['912'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692566.092996,VS0,VE167'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:26 GMT + fastly-ratelimit-remaining: + - '961' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115026.093641,VS0,VE632 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":4,"deleted_at":null,"created_at":"2018-05-30T15:02:46Z","updated_at":"2018-05-30T15:02:46Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['183'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:46 GMT'] - fastly-ratelimit-remaining: ['911'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692566.317319,VS0,VE201'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":4,"updated_at":"2019-04-24T14:10:27Z","created_at":"2019-04-24T14:10:27Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '173' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:27 GMT + fastly-ratelimit-remaining: + - '960' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115027.844655,VS0,VE572 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -491,160 +1009,299 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:46Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:46 GMT'] - fastly-ratelimit-remaining: ['910'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692567.576730,VS0,VE169'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:10:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:10:28Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:28 GMT + fastly-ratelimit-remaining: + - '959' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115028.567148,VS0,VE628 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"4","updated_at":"2018-05-30T15:02:46Z","deleted_at":null,"created_at":"2018-05-30T15:02:46Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:46 GMT'] - fastly-ratelimit-remaining: ['909'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692567.805344,VS0,VE154'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"4","updated_at":"2019-04-24T14:10:28Z","deleted_at":null,"created_at":"2019-04-24T14:10:28Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:28 GMT + fastly-ratelimit-remaining: + - '958' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115028.301813,VS0,VE599 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:47Z","updated_at":"2018-05-30T15:02:47Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:47 GMT'] - fastly-ratelimit-remaining: ['908'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692567.019618,VS0,VE149'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"4","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:10:29Z","updated_at":"2019-04-24T14:10:29Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:29 GMT + fastly-ratelimit-remaining: + - '957' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115029.103789,VS0,VE555 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:47 GMT'] - fastly-ratelimit-remaining: ['907'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692567.227210,VS0,VE177'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","general.default_pci":0,"general.default_ttl":3600,"version":4,"general.default_host":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:30 GMT + fastly-ratelimit-remaining: + - '956' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556115030.819530,VS0,VE554 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:47Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:48 GMT'] - fastly-ratelimit-remaining: ['906'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692567.464801,VS0,VE924'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"created_at":"2019-04-24T14:10:16Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:29Z","locked":true,"active":true,"deleted_at":null,"comment":"","testing":false,"number":4,"deployed":false,"staging":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:32 GMT + fastly-ratelimit-remaining: + - '955' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115030.486974,VS0,VE1574 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:31Z","active":true,"number":4,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:31Z","active":true,"number":4,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4469'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:48 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692568.446109,VS0,VE156'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4491' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19179-FRA + x-timer: + - S1556115032.165732,VS0,VE613 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_action_not_required b/tests/fixtures/cassettes/test_fastly_header_action_not_required index fde8b81..2ec8568 100644 --- a/tests/fixtures/cassettes/test_fastly_header_action_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_action_not_required @@ -2,518 +2,1063 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1156'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692569.708574,VS0,VE411'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:31Z","active":true,"number":4,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:16Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1156' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115033.146489,VS0,VE545 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:31Z","active":true,"number":4,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:31Z","active":true,"number":4,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4469'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692569.175227,VS0,VE116'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4491' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115034.867448,VS0,VE474 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/4/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:49 GMT'] - fastly-ratelimit-remaining: ['905'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692569.350741,VS0,VE498'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:35 GMT + fastly-ratelimit-remaining: + - '954' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19143-FRA + x-timer: + - S1556115034.444684,VS0,VE588 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/domain response: - body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:46Z","comment":"","updated_at":"2018-05-30T15:02:46Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['185'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692570.909195,VS0,VE413'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"created_at":"2019-04-24T14:10:27Z","comment":"","updated_at":"2019-04-24T14:10:34Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '175' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115035.242263,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:50 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692570.381714,VS0,VE425'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115036.951372,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692571.864663,VS0,VE171'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:37 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115037.565097,VS0,VE487 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:46Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:46Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692571.093551,VS0,VE398'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:10:34Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:10:28Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:37 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19131-FRA + x-timer: + - S1556115037.186477,VS0,VE542 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692572.548690,VS0,VE393'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:38 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115038.848860,VS0,VE492 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692572.999474,VS0,VE389'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:39 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19134-FRA + x-timer: + - S1556115039.518505,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692572.447100,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:39 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19170-FRA + x-timer: + - S1556115039.250942,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:46Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692573.631027,VS0,VE438'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"priority":"10","service_id":"7hessp2jFvpG3vKHOQ1tTj","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:10:34Z","version":"5","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:10:28Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '414' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:40 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19130-FRA + x-timer: + - S1556115040.953103,VS0,VE542 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692573.126838,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19160-FRA + x-timer: + - S1556115041.609947,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"5","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:47Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:47Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692573.304864,VS0,VE172'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"302","version":"5","name":"Set + 302 status code","content":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:10:29Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:10:34Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115041.280823,VS0,VE509 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692574.538008,VS0,VE167'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115042.005137,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692574.762135,VS0,VE166'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19143-FRA + x-timer: + - S1556115043.717600,VS0,VE585 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:54 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692574.988032,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115043.435433,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19143-FRA + x-timer: + - S1556115044.151243,VS0,VE533 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:54 GMT'] - fastly-ratelimit-remaining: ['904'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692574.172307,VS0,VE458'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:45 GMT + fastly-ratelimit-remaining: + - '953' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115045.868842,VS0,VE597 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend/localhost + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:55 GMT'] - fastly-ratelimit-remaining: ['903'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692575.685294,VS0,VE470'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:46 GMT + fastly-ratelimit-remaining: + - '952' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115046.690739,VS0,VE648 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header/Set%20Location%20header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:55 GMT'] - fastly-ratelimit-remaining: ['902'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692575.215428,VS0,VE432'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:47 GMT + fastly-ratelimit-remaining: + - '951' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115047.506636,VS0,VE588 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/response_object/Set%20302%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:55 GMT'] - fastly-ratelimit-remaining: ['901'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692576.700571,VS0,VE168'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:47 GMT + fastly-ratelimit-remaining: + - '950' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19131-FRA + x-timer: + - S1556115047.219760,VS0,VE590 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":5,"deleted_at":null,"created_at":"2018-05-30T15:02:56Z","updated_at":"2018-05-30T15:02:56Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['183'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:56 GMT'] - fastly-ratelimit-remaining: ['900'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692576.930645,VS0,VE495'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":5,"deleted_at":null,"created_at":"2019-04-24T14:10:48Z","updated_at":"2019-04-24T14:10:48Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '173' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:48 GMT + fastly-ratelimit-remaining: + - '949' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115048.929948,VS0,VE624 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -521,160 +1066,298 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:56Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:56 GMT'] - fastly-ratelimit-remaining: ['899'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692576.485064,VS0,VE470'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:10:49Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:10:49Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:49 GMT + fastly-ratelimit-remaining: + - '948' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115049.763421,VS0,VE634 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"5","updated_at":"2018-05-30T15:02:57Z","deleted_at":null,"created_at":"2018-05-30T15:02:57Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['413'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:57 GMT'] - fastly-ratelimit-remaining: ['898'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692577.011044,VS0,VE427'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"5","deleted_at":null,"created_at":"2019-04-24T14:10:50Z","updated_at":"2019-04-24T14:10:50Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '413' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:50 GMT + fastly-ratelimit-remaining: + - '947' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19176-FRA + x-timer: + - S1556115050.546010,VS0,VE599 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:57Z","updated_at":"2018-05-30T15:02:57Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:57 GMT'] - fastly-ratelimit-remaining: ['897'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692578.502119,VS0,VE424'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"5","created_at":"2019-04-24T14:10:50Z","cache_condition":"","deleted_at":null,"updated_at":"2019-04-24T14:10:50Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:50 GMT + fastly-ratelimit-remaining: + - '946' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19176-FRA + x-timer: + - S1556115050.288688,VS0,VE572 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:58 GMT'] - fastly-ratelimit-remaining: ['896'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692578.985678,VS0,VE515'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:51 GMT + fastly-ratelimit-remaining: + - '945' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19128-FRA + x-timer: + - S1556115051.991125,VS0,VE557 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:57Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:59 GMT'] - fastly-ratelimit-remaining: ['895'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692579.558396,VS0,VE847'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:50Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:53 GMT + fastly-ratelimit-remaining: + - '944' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19127-FRA + x-timer: + - S1556115052.728262,VS0,VE1621 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4703'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:02:59 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692579.463061,VS0,VE441'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4725' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19137-FRA + x-timer: + - S1556115054.572857,VS0,VE615 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required index e38ea92..af182dd 100644 --- a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required @@ -2,80 +2,150 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1388'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692580.016905,VS0,VE156'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1388' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115054.494551,VS0,VE644 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4703'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692580.226117,VS0,VE125'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4725' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19140-FRA + x-timer: + - S1556115055.310687,VS0,VE236 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4703'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692580.411011,VS0,VE122'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4725' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19166-FRA + x-timer: + - S1556115056.661655,VS0,VE518 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_priority_not_required b/tests/fixtures/cassettes/test_fastly_header_priority_not_required index ce06f39..240d444 100644 --- a/tests/fixtures/cassettes/test_fastly_header_priority_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_priority_not_required @@ -2,81 +2,147 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1388'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692581.627607,VS0,VE155'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1388' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115056.455395,VS0,VE539 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4703'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:00 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692581.838593,VS0,VE119'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4725' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19137-FRA + x-timer: + - S1556115057.109982,VS0,VE474 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4703'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692581.015028,VS0,VE161'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4725' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19163-FRA + x-timer: + - S1556115058.771443,VS0,VE195 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist b/tests/fixtures/cassettes/test_service_does_exist index 518cb36..ac567de 100644 --- a/tests/fixtures/cassettes/test_service_does_exist +++ b/tests/fixtures/cassettes/test_service_does_exist @@ -2,518 +2,1063 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1388'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692581.317972,VS0,VE146'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1388' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19127-FRA + x-timer: + - S1556115058.319735,VS0,VE498 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:10:53Z","active":true,"number":5,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4703'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:01 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692582.522991,VS0,VE123'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4725' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19127-FRA + x-timer: + - S1556115059.927401,VS0,VE177 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/5/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:02 GMT'] - fastly-ratelimit-remaining: ['894'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692582.703685,VS0,VE497'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:10:59 GMT + fastly-ratelimit-remaining: + - '943' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115059.308281,VS0,VE617 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/domain response: - body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:56Z","comment":"","updated_at":"2018-05-30T15:02:56Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['185'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692582.259903,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"created_at":"2019-04-24T14:10:48Z","comment":"","updated_at":"2019-04-24T14:10:59Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '175' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19175-FRA + x-timer: + - S1556115060.035492,VS0,VE555 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:02 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692582.437898,VS0,VE451'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19128-FRA + x-timer: + - S1556115061.742266,VS0,VE190 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692583.947035,VS0,VE135'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556115061.149755,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:56Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:56Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:03 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692583.133192,VS0,VE568'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:10:59Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:10:49Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19176-FRA + x-timer: + - S1556115062.858747,VS0,VE500 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692584.755876,VS0,VE250'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19176-FRA + x-timer: + - S1556115063.584326,VS0,VE534 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692584.064042,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115063.233756,VS0,VE189 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692584.241129,VS0,VE123'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115064.607618,VS0,VE532 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:57Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:57Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['415'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692584.418319,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"priority":"100","service_id":"7hessp2jFvpG3vKHOQ1tTj","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:10:59Z","version":"6","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:10:50Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '415' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:04 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19162-FRA + x-timer: + - S1556115064.327501,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692585.598739,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19141-FRA + x-timer: + - S1556115065.031413,VS0,VE524 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"6","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:57Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:57Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:04 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692585.786086,VS0,VE118'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"created_at":"2019-04-24T14:10:50Z","cache_condition":"","response":"Ok","deleted_at":null,"status":"302","updated_at":"2019-04-24T14:10:59Z","name":"Set + 302 status code","content_type":"","version":"6","request_condition":"","content":"","service_id":"7hessp2jFvpG3vKHOQ1tTj"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19165-FRA + x-timer: + - S1556115066.673593,VS0,VE509 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692585.963343,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19175-FRA + x-timer: + - S1556115066.380295,VS0,VE535 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692585.151758,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19127-FRA + x-timer: + - S1556115067.017068,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:05 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692585.328626,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115068.655249,VS0,VE181 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:08 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19183-FRA + x-timer: + - S1556115068.950682,VS0,VE513 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:05 GMT'] - fastly-ratelimit-remaining: ['893'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692586.529222,VS0,VE468'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:09 GMT + fastly-ratelimit-remaining: + - '942' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115069.580598,VS0,VE632 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend/localhost + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:06 GMT'] - fastly-ratelimit-remaining: ['892'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692586.056299,VS0,VE187'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:09 GMT + fastly-ratelimit-remaining: + - '941' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115069.342782,VS0,VE655 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header/Set%20Location%20header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:06 GMT'] - fastly-ratelimit-remaining: ['891'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692586.305760,VS0,VE449'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:10 GMT + fastly-ratelimit-remaining: + - '940' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115070.124286,VS0,VE293 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/response_object/Set%20302%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:06 GMT'] - fastly-ratelimit-remaining: ['890'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692587.810957,VS0,VE181'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:11 GMT + fastly-ratelimit-remaining: + - '939' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115071.551239,VS0,VE595 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":6,"deleted_at":null,"created_at":"2018-05-30T15:03:07Z","updated_at":"2018-05-30T15:03:07Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:07 GMT'] - fastly-ratelimit-remaining: ['889'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692587.049889,VS0,VE209'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":6,"deleted_at":null,"created_at":"2019-04-24T14:11:11Z","updated_at":"2019-04-24T14:11:11Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '178' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:11 GMT + fastly-ratelimit-remaining: + - '938' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556115071.257221,VS0,VE280 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -521,676 +1066,1366 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:07Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:07Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:07 GMT'] - fastly-ratelimit-remaining: ['888'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692587.317867,VS0,VE169'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:11:12Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:11:12Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:12 GMT + fastly-ratelimit-remaining: + - '937' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19170-FRA + x-timer: + - S1556115072.652366,VS0,VE609 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"6","updated_at":"2018-05-30T15:03:07Z","deleted_at":null,"created_at":"2018-05-30T15:03:07Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:07 GMT'] - fastly-ratelimit-remaining: ['887'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692588.542777,VS0,VE163'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"6","updated_at":"2019-04-24T14:11:12Z","deleted_at":null,"created_at":"2019-04-24T14:11:12Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:12 GMT + fastly-ratelimit-remaining: + - '936' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19182-FRA + x-timer: + - S1556115072.385128,VS0,VE561 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:08Z","updated_at":"2018-05-30T15:03:08Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:08 GMT'] - fastly-ratelimit-remaining: ['886'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692588.762867,VS0,VE427'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"6","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:11:13Z","updated_at":"2019-04-24T14:11:13Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:13 GMT + fastly-ratelimit-remaining: + - '935' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1523-HHN + x-timer: + - S1556115073.129940,VS0,VE555 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:08 GMT'] - fastly-ratelimit-remaining: ['885'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692588.248144,VS0,VE188'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:14 GMT + fastly-ratelimit-remaining: + - '934' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115074.804355,VS0,VE237 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:09 GMT'] - fastly-ratelimit-remaining: ['884'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692588.495167,VS0,VE604'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:13Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:15 GMT + fastly-ratelimit-remaining: + - '933' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115074.256260,VS0,VE1630 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4943'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692589.156096,VS0,VE157'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"updated_at":"2019-04-24T14:09:39Z","name":"Jimdo + Fastly Ansible Module Test","created_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false}],"version":{"service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","staging":false,"deployed":false,"number":6,"locked":true,"active":true,"testing":false,"updated_at":"2019-04-24T14:11:15Z","acls":[],"backends":[{"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null,"request_condition":"","port":80,"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_ciphers":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"max_tls_version":null,"weight":100,"min_tls_version":null,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","dst":"http.Location","name":"Set + Location header","response_condition":null,"substitution":"","priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","regex":"","action":"set","cache_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":"","status":"302","name":"Set + 302 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}},"active_version":{"service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","staging":false,"deployed":false,"number":6,"locked":true,"active":true,"testing":false,"updated_at":"2019-04-24T14:11:15Z","acls":[],"backends":[{"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null,"request_condition":"","port":80,"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_ciphers":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"max_tls_version":null,"weight":100,"min_tls_version":null,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","dst":"http.Location","name":"Set + Location header","response_condition":null,"substitution":"","priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","regex":"","action":"set","cache_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":"","status":"302","name":"Set + 302 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4965' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115076.101721,VS0,VE540 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1620'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692589.373291,VS0,VE148'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:15Z","active":true,"number":6,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:10:59Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1620' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115077.773782,VS0,VE547 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4943'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:09 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692590.580477,VS0,VE112'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"updated_at":"2019-04-24T14:09:39Z","name":"Jimdo + Fastly Ansible Module Test","created_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false}],"version":{"service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","staging":false,"deployed":false,"number":6,"locked":true,"active":true,"testing":false,"updated_at":"2019-04-24T14:11:15Z","acls":[],"backends":[{"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null,"request_condition":"","port":80,"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_ciphers":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"max_tls_version":null,"weight":100,"min_tls_version":null,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","dst":"http.Location","name":"Set + Location header","response_condition":null,"substitution":"","priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","regex":"","action":"set","cache_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":"","status":"302","name":"Set + 302 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}},"active_version":{"service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","staging":false,"deployed":false,"number":6,"locked":true,"active":true,"testing":false,"updated_at":"2019-04-24T14:11:15Z","acls":[],"backends":[{"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"ssl_check_cert":true,"override_host":null,"request_condition":"","port":80,"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null,"ipv6":null,"name":"localhost","use_ssl":false,"ssl_ciphers":null,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"max_tls_version":null,"weight":100,"min_tls_version":null,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","dst":"http.Location","name":"Set + Location header","response_condition":null,"substitution":"","priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","regex":"","action":"set","cache_condition":null}],"healthchecks":[],"request_settings":[],"response_objects":[{"content_type":"","response":"Ok","cache_condition":"","content":"","request_condition":"","status":"302","name":"Set + 302 status code"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_pci":0,"general.default_ttl":3600,"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4965' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115078.522945,VS0,VE524 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/6/clone + response: + body: + string: !!python/unicode '{"deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","number":7,"testing":false,"deployed":false,"comment":"","staging":false,"updated_at":"2019-04-24T14:11:15Z","created_at":"2019-04-24T14:10:59Z","locked":false,"active":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:18 GMT + fastly-ratelimit-remaining: + - '932' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19120-FRA + x-timer: + - S1556115078.261778,VS0,VE690 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:10 GMT'] - fastly-ratelimit-remaining: ['883'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692590.750579,VS0,VE478'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"created_at":"2019-04-24T14:11:11Z","comment":"test1","updated_at":"2019-04-24T14:11:18Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '180' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115079.075857,VS0,VE499 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/healthcheck response: - body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:07Z","comment":"test1","updated_at":"2018-05-30T15:03:07Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692590.283472,VS0,VE387'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115080.788566,VS0,VE501 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:10 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692591.725879,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19165-FRA + x-timer: + - S1556115081.506991,VS0,VE532 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692591.911755,VS0,VE122'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"address":"127.0.0.1","ssl_ca_cert":null,"ssl_check_cert":true,"ipv4":"127.0.0.1","error_threshold":0,"shield":null,"auto_loadbalance":false,"comment":"","deleted_at":null,"ssl_sni_hostname":null,"created_at":"2019-04-24T14:11:12Z","hostname":null,"name":"localhost","ipv6":null,"client_cert":null,"ssl_hostname":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","weight":100,"ssl_cert_hostname":null,"override_host":null,"updated_at":"2019-04-24T14:11:18Z","request_condition":"","version":7,"port":80,"first_byte_timeout":15000,"healthcheck":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"ssl_ciphers":null,"between_bytes_timeout":10000,"ssl_client_cert":null,"min_tls_version":null,"max_tls_version":null,"connect_timeout":1000}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556115081.222544,VS0,VE503 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/director response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:07Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:07Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692591.090652,VS0,VE132'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115082.937814,VS0,VE494 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692591.281504,VS0,VE385'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115083.654685,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:11 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692592.726111,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115083.354890,VS0,VE191 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692592.911385,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"priority":"10","service_id":"7hessp2jFvpG3vKHOQ1tTj","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:11:18Z","version":"7","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:11:12Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '414' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19173-FRA + x-timer: + - S1556115084.641110,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/request_settings response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:07Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692592.092804,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:24 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115084.306078,VS0,VE515 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692592.280464,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"302","version":"7","name":"Set + 302 status code","content":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:11:13Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:11:18Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:25 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115085.938663,VS0,VE533 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/snippet response: - body: {string: !!python/unicode '[{"response":"Ok","version":"7","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:08Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:08Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692592.465500,VS0,VE131'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19164-FRA + x-timer: + - S1556115086.598189,VS0,VE504 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:12 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692593.655234,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115086.223813,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692593.836317,VS0,VE411'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19178-FRA + x-timer: + - S1556115087.968289,VS0,VE242 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:13 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692593.308357,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19165-FRA + x-timer: + - S1556115087.308295,VS0,VE537 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:13 GMT'] - fastly-ratelimit-remaining: ['882'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692593.488703,VS0,VE164'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:28 GMT + fastly-ratelimit-remaining: + - '931' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19125-FRA + x-timer: + - S1556115088.961061,VS0,VE605 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend/localhost + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:14 GMT'] - fastly-ratelimit-remaining: ['881'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692594.712585,VS0,VE473'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:29 GMT + fastly-ratelimit-remaining: + - '930' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115089.691768,VS0,VE664 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header/Set%20Location%20header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:14 GMT'] - fastly-ratelimit-remaining: ['880'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692594.247366,VS0,VE498'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:30 GMT + fastly-ratelimit-remaining: + - '929' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19139-FRA + x-timer: + - S1556115090.517032,VS0,VE641 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/response_object/Set%20302%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:14 GMT'] - fastly-ratelimit-remaining: ['879'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692595.802828,VS0,VE171'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:30 GMT + fastly-ratelimit-remaining: + - '928' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115090.278333,VS0,VE590 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":7,"deleted_at":null,"created_at":"2018-05-30T15:03:15Z","updated_at":"2018-05-30T15:03:15Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:15 GMT'] - fastly-ratelimit-remaining: ['878'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692595.033846,VS0,VE469'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":7,"deleted_at":null,"created_at":"2019-04-24T14:11:31Z","updated_at":"2019-04-24T14:11:31Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '178' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:31 GMT + fastly-ratelimit-remaining: + - '927' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115091.053342,VS0,VE576 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -1198,160 +2433,301 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:15Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:15 GMT'] - fastly-ratelimit-remaining: ['877'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692596.560974,VS0,VE166'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":7,"ipv6":null,"created_at":"2019-04-24T14:11:32Z","hostname":null,"ssl_sni_hostname":null,"deleted_at":null,"client_cert":null,"ssl_check_cert":true,"auto_loadbalance":false,"comment":"","ipv4":"127.0.0.1","ssl_ciphers":null,"use_ssl":false,"ssl_client_key":null,"min_tls_version":null,"max_tls_version":null,"ssl_client_cert":null,"updated_at":"2019-04-24T14:11:32Z","override_host":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:32 GMT + fastly-ratelimit-remaining: + - '926' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115092.778324,VS0,VE582 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"7","updated_at":"2018-05-30T15:03:15Z","deleted_at":null,"created_at":"2018-05-30T15:03:15Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:15 GMT'] - fastly-ratelimit-remaining: ['876'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692596.788393,VS0,VE159'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"7","updated_at":"2019-04-24T14:11:32Z","deleted_at":null,"created_at":"2019-04-24T14:11:32Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:32 GMT + fastly-ratelimit-remaining: + - '925' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115092.489747,VS0,VE250 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set 301 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/response_object response: - body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:16Z","updated_at":"2018-05-30T15:03:16Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:16 GMT'] - fastly-ratelimit-remaining: ['875'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692596.005657,VS0,VE458'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"301","request_condition":"","name":"Set + 301 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"7","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:11:33Z","updated_at":"2019-04-24T14:11:33Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:33 GMT + fastly-ratelimit-remaining: + - '924' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115093.899931,VS0,VE263 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:16 GMT'] - fastly-ratelimit-remaining: ['874'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692597.525794,VS0,VE468'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:33 GMT + fastly-ratelimit-remaining: + - '923' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115093.330823,VS0,VE515 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:16Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:17 GMT'] - fastly-ratelimit-remaining: ['873'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692597.054603,VS0,VE870'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"created_at":"2019-04-24T14:11:18Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:11:33Z","locked":true,"active":true,"deleted_at":null,"comment":"","number":7,"testing":false,"deployed":false,"staging":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:35 GMT + fastly-ratelimit-remaining: + - '922' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19152-FRA + x-timer: + - S1556115094.030879,VS0,VE1319 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5175'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692598.980838,VS0,VE149'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"updated_at":"2019-04-24T14:09:39Z","name":"Jimdo + Fastly Ansible Module Test","id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false}],"version":{"active":true,"locked":true,"deployed":false,"number":7,"updated_at":"2019-04-24T14:11:35Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:11:18Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","acls":[],"backends":[{"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"override_host":null,"ssl_check_cert":true,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","comment":"","first_byte_timeout":15000,"shield":null,"auto_loadbalance":false,"healthcheck":null,"ssl_sni_hostname":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_hostname":null,"max_tls_version":null,"min_tls_version":null,"weight":100,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","cache_condition":null,"action":"set","regex":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"name":"Set + 301 status code","status":"301","request_condition":"","content":"","content_type":"","cache_condition":"","response":"Ok"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":{"active":true,"locked":true,"deployed":false,"number":7,"updated_at":"2019-04-24T14:11:35Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:11:18Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","acls":[],"backends":[{"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"override_host":null,"ssl_check_cert":true,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","comment":"","first_byte_timeout":15000,"shield":null,"auto_loadbalance":false,"healthcheck":null,"ssl_sni_hostname":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_hostname":null,"max_tls_version":null,"min_tls_version":null,"weight":100,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","cache_condition":null,"action":"set","regex":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"name":"Set + 301 status code","status":"301","request_condition":"","content":"","content_type":"","cache_condition":"","response":"Ok"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5197' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19151-FRA + x-timer: + - S1556115096.549057,VS0,VE543 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled index 4c677e9..f0140be 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled @@ -2,517 +2,1067 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1852'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692598.250836,VS0,VE146'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:35Z","active":true,"number":7,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:18Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1852' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:37 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19177-FRA + x-timer: + - S1556115097.543421,VS0,VE591 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5175'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:18 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692598.451666,VS0,VE175'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"updated_at":"2019-04-24T14:09:39Z","name":"Jimdo + Fastly Ansible Module Test","id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false}],"version":{"active":true,"locked":true,"deployed":false,"number":7,"updated_at":"2019-04-24T14:11:35Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:11:18Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","acls":[],"backends":[{"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"override_host":null,"ssl_check_cert":true,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","comment":"","first_byte_timeout":15000,"shield":null,"auto_loadbalance":false,"healthcheck":null,"ssl_sni_hostname":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_hostname":null,"max_tls_version":null,"min_tls_version":null,"weight":100,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","cache_condition":null,"action":"set","regex":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"name":"Set + 301 status code","status":"301","request_condition":"","content":"","content_type":"","cache_condition":"","response":"Ok"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":{"active":true,"locked":true,"deployed":false,"number":7,"updated_at":"2019-04-24T14:11:35Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:11:18Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","acls":[],"backends":[{"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null,"override_host":null,"ssl_check_cert":true,"request_condition":"","port":80,"error_threshold":0,"ipv4":"127.0.0.1","comment":"","first_byte_timeout":15000,"shield":null,"auto_loadbalance":false,"healthcheck":null,"ssl_sni_hostname":null,"hostname":null,"ssl_client_key":null,"max_conn":200,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_hostname":null,"max_tls_version":null,"min_tls_version":null,"weight":100,"connect_timeout":1000}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","ignore_if_set":"0","cache_condition":null,"action":"set","regex":"","response_condition":null,"name":"Set + Location header","dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"name":"Set + 301 status code","status":"301","request_condition":"","content":"","content_type":"","cache_condition":"","response":"Ok"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5197' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:37 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19138-FRA + x-timer: + - S1556115097.302712,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/7/clone + response: + body: + string: !!python/unicode '{"staging":false,"testing":false,"deployed":false,"number":8,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","active":false,"locked":false,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:11:18Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:38 GMT + fastly-ratelimit-remaining: + - '921' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19164-FRA + x-timer: + - S1556115098.018497,VS0,VE659 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:19 GMT'] - fastly-ratelimit-remaining: ['872'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692599.682121,VS0,VE514'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"name":"cdn.example8000.com","updated_at":"2019-04-24T14:11:38Z","deleted_at":null,"created_at":"2019-04-24T14:11:31Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","comment":"test1","version":8}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '180' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:39 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19143-FRA + x-timer: + - S1556115099.834965,VS0,VE541 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/healthcheck response: - body: {string: !!python/unicode '[{"version":8,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:15Z","comment":"test1","updated_at":"2018-05-30T15:03:15Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692599.247877,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:40 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19181-FRA + x-timer: + - S1556115099.493033,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692599.443590,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:40 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19174-FRA + x-timer: + - S1556115100.165983,VS0,VE538 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692600.626123,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:11:38Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":8,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:11:32Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115101.880128,VS0,VE492 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/director response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":8,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:15Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:19 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692600.805576,VS0,VE133'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:41 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115101.493282,VS0,VE480 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692600.997199,VS0,VE388'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115102.081029,VS0,VE501 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692600.436131,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115103.720852,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:20 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692601.620938,VS0,VE116'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"priority":"10","service_id":"7hessp2jFvpG3vKHOQ1tTj","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:11:38Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"8","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:11:32Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '414' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115103.349877,VS0,VE498 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/request_settings response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:15Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"8","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692601.793555,VS0,VE412'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:44 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115104.958268,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692601.257694,VS0,VE427'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"301","version":"8","name":"Set + 301 status code","content":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:11:33Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:11:38Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1526-HHN + x-timer: + - S1556115105.569733,VS0,VE492 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/snippet response: - body: {string: !!python/unicode '[{"response":"Ok","version":"8","status":"301","name":"Set - 301 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:16Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:16Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:21 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692602.742449,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:45 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115105.260364,VS0,VE503 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692602.918099,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115106.896093,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692602.102533,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:46 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115107.507356,VS0,VE477 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:22 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692602.288553,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115107.133862,VS0,VE484 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:22 GMT'] - fastly-ratelimit-remaining: ['871'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692602.466267,VS0,VE205'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:48 GMT + fastly-ratelimit-remaining: + - '920' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115108.729765,VS0,VE575 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend/localhost + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:22 GMT'] - fastly-ratelimit-remaining: ['870'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692603.729989,VS0,VE256'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:49 GMT + fastly-ratelimit-remaining: + - '919' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115108.457269,VS0,VE593 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header/Set%20Location%20header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:23 GMT'] - fastly-ratelimit-remaining: ['869'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692603.039510,VS0,VE169'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:49 GMT + fastly-ratelimit-remaining: + - '918' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115109.177462,VS0,VE635 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object/Set%20301%20status%20code + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/response_object/Set%20301%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:23 GMT'] - fastly-ratelimit-remaining: ['868'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692603.266600,VS0,VE464'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:50 GMT + fastly-ratelimit-remaining: + - '917' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115110.995379,VS0,VE571 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":8,"deleted_at":null,"created_at":"2018-05-30T15:03:24Z","updated_at":"2018-05-30T15:03:24Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:24 GMT'] - fastly-ratelimit-remaining: ['867'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692604.792562,VS0,VE487'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":8,"deleted_at":null,"created_at":"2019-04-24T14:11:51Z","updated_at":"2019-04-24T14:11:51Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '178' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:51 GMT + fastly-ratelimit-remaining: + - '916' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115111.686664,VS0,VE599 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -520,677 +1070,1362 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":8,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:24Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:24Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:24 GMT'] - fastly-ratelimit-remaining: ['866'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692604.338514,VS0,VE178'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":8,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:11:51Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:11:51Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:51 GMT + fastly-ratelimit-remaining: + - '915' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115111.408359,VS0,VE585 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"8","updated_at":"2018-05-30T15:03:24Z","deleted_at":null,"created_at":"2018-05-30T15:03:24Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:25 GMT'] - fastly-ratelimit-remaining: ['865'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692605.577029,VS0,VE438'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"8","updated_at":"2019-04-24T14:11:52Z","deleted_at":null,"created_at":"2019-04-24T14:11:52Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:52 GMT + fastly-ratelimit-remaining: + - '914' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115112.147986,VS0,VE558 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"8","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:25Z","updated_at":"2018-05-30T15:03:25Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:25 GMT'] - fastly-ratelimit-remaining: ['864'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692605.075410,VS0,VE205'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"8","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:11:53Z","updated_at":"2019-04-24T14:11:53Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:53 GMT + fastly-ratelimit-remaining: + - '913' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1544-HHN + x-timer: + - S1556115113.866450,VS0,VE542 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":8,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:25 GMT'] - fastly-ratelimit-remaining: ['863'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692605.331901,VS0,VE462'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.default_host":"","version":8,"general.default_ttl":3600,"general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj","general.stale_if_error_ttl":43200,"general.stale_if_error":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:54 GMT + fastly-ratelimit-remaining: + - '912' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115114.580417,VS0,VE528 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/activate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:25Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:26 GMT'] - fastly-ratelimit-remaining: ['862'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692606.852166,VS0,VE708'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:53Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:55 GMT + fastly-ratelimit-remaining: + - '911' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115114.288857,VS0,VE1625 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5407'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692607.617802,VS0,VE149'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5429' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115116.125535,VS0,VE546 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2084'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:26 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692607.827052,VS0,VE147'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":""}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2084' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:57 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115117.863363,VS0,VE560 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5407'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692607.032072,VS0,VE127'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5429' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:58 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115118.541849,VS0,VE471 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/clone + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:27 GMT'] - fastly-ratelimit-remaining: ['861'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692607.223225,VS0,VE490'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"active":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"staging":false,"deleted_at":null,"comment":"","number":9,"testing":false,"deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:58 GMT + fastly-ratelimit-remaining: + - '910' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115118.115095,VS0,VE603 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/domain response: - body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:24Z","comment":"test1","updated_at":"2018-05-30T15:03:24Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:27 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692608.775858,VS0,VE136'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"created_at":"2019-04-24T14:11:51Z","comment":"test1","updated_at":"2019-04-24T14:11:58Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '180' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:11:59 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115119.920896,VS0,VE486 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/healthcheck + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692608.968480,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115120.622380,VS0,VE504 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/condition + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692608.147657,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115120.246493,VS0,VE183 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:24Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:24Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527692608.333984,VS0,VE140'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"weight":100,"client_cert":null,"address":"127.0.0.1","updated_at":"2019-04-24T14:11:58Z","ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2019-04-24T14:11:51Z","comment":""}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '739' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:00 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115121.543710,VS0,VE252 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/director + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692609.535185,VS0,VE120'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115121.952812,VS0,VE553 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/cache_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527692609.715166,VS0,VE382'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115122.609295,VS0,VE711 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/gzip + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692609.156428,VS0,VE132'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:02 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1541-HHN + x-timer: + - S1556115122.477586,VS0,VE183 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:24Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:24Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692609.347266,VS0,VE130'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"priority":"10","service_id":"7hessp2jFvpG3vKHOQ1tTj","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2019-04-24T14:11:58Z","version":"9","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2019-04-24T14:11:52Z","regex":"","action":"set","type":"response","dst":"http.Location"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '414' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:03 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115123.809392,VS0,VE496 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/request_settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:29 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692610.539448,VS0,VE124'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115125.566466,VS0,VE478 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"9","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:25Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:25Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692610.721746,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[{"response":"Ok","status":"302","version":"9","name":"Set + 302 status code","content":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:11:53Z","content_type":"","request_condition":"","updated_at":"2019-04-24T14:11:58Z"}]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '280' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115125.153731,VS0,VE208 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/snippet + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692610.192518,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:05 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1520-HHN + x-timer: + - S1556115126.555724,VS0,VE188 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/logging/s3 + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692611.660275,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:06 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115126.864755,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/logging/syslog + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692611.841495,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1549-HHN + x-timer: + - S1556115127.578606,VS0,VE482 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:07 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1525-HHN + x-timer: + - S1556115127.174446,VS0,VE180 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain/cdn.example8000.com + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:31 GMT'] - fastly-ratelimit-remaining: ['860'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692611.017708,VS0,VE184'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:08 GMT + fastly-ratelimit-remaining: + - '909' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115127.465572,VS0,VE912 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend/localhost + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/backend/localhost response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:31 GMT'] - fastly-ratelimit-remaining: ['859'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692611.261028,VS0,VE459'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:09 GMT + fastly-ratelimit-remaining: + - '908' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115128.495208,VS0,VE629 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header/Set%20Location%20header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/header/Set%20Location%20header response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:32 GMT'] - fastly-ratelimit-remaining: ['858'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692612.779760,VS0,VE222'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:09 GMT + fastly-ratelimit-remaining: + - '907' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115129.358772,VS0,VE617 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/response_object/Set%20302%20status%20code response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:32 GMT'] - fastly-ratelimit-remaining: ['857'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692612.061143,VS0,VE704'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:10 GMT + fastly-ratelimit-remaining: + - '906' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115130.166359,VS0,VE599 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":9,"deleted_at":null,"created_at":"2018-05-30T15:03:33Z","updated_at":"2018-05-30T15:03:33Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:33 GMT'] - fastly-ratelimit-remaining: ['856'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692613.822002,VS0,VE273'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":9,"deleted_at":null,"created_at":"2019-04-24T14:12:11Z","updated_at":"2019-04-24T14:12:11Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '178' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:11 GMT + fastly-ratelimit-remaining: + - '905' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115131.887735,VS0,VE617 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -1198,135 +2433,251 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:33Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:33 GMT'] - fastly-ratelimit-remaining: ['855'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692613.148772,VS0,VE542'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:12:12Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:12:12Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:12 GMT + fastly-ratelimit-remaining: + - '904' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115132.706453,VS0,VE655 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"9","updated_at":"2018-05-30T15:03:34Z","deleted_at":null,"created_at":"2018-05-30T15:03:34Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:34 GMT'] - fastly-ratelimit-remaining: ['854'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692614.752572,VS0,VE626'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"9","updated_at":"2019-04-24T14:12:12Z","deleted_at":null,"created_at":"2019-04-24T14:12:12Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:12 GMT + fastly-ratelimit-remaining: + - '903' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115133.521836,VS0,VE332 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set 301 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/response_object response: - body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:34Z","updated_at":"2018-05-30T15:03:34Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:34 GMT'] - fastly-ratelimit-remaining: ['853'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692614.440519,VS0,VE472'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"301","request_condition":"","name":"Set + 301 status code","content":"","content_type":"","response":"Ok","service_id":"7hessp2jFvpG3vKHOQ1tTj","version":"9","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:12:13Z","updated_at":"2019-04-24T14:12:13Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:14 GMT + fastly-ratelimit-remaining: + - '902' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115133.035915,VS0,VE980 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/settings + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/9/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:35 GMT'] - fastly-ratelimit-remaining: ['852'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692615.973963,VS0,VE495'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:14 GMT + fastly-ratelimit-remaining: + - '901' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19136-FRA + x-timer: + - S1556115134.129938,VS0,VE573 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:35 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692616.526328,VS0,VE203'] - status: {code: 200, message: OK} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:15 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19168-FRA + x-timer: + - S1556115135.870294,VS0,VE623 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal index 93b6ae7..e0c07e4 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal @@ -2,157 +2,301 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:58Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:13Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2317'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692616.859161,VS0,VE158'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2317' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:16 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115136.967801,VS0,VE587 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692616.075870,VS0,VE122'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115137.722473,VS0,VE516 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692616.255526,VS0,VE384'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:17 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19154-FRA + x-timer: + - S1556115137.440291,VS0,VE188 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + body: + string: !!python/unicode '{"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","deployed":false,"number":1,"testing":false,"active":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","locked":false},{"active":false,"created_at":"2019-04-24T14:09:40Z","updated_at":"2019-04-24T14:10:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":true,"staging":false,"deleted_at":null,"comment":"","testing":false,"number":2,"deployed":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","locked":true,"active":false,"deleted_at":null,"deployed":false,"testing":false,"number":3,"comment":"","staging":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true,"active":false,"deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","staging":false},{"staging":false,"comment":"","deployed":false,"number":5,"testing":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"active":false,"locked":true,"created_at":"2019-04-24T14:10:34Z","updated_at":"2019-04-24T14:11:15Z"},{"active":false,"locked":true,"service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","staging":false,"number":6,"deployed":false,"testing":false,"comment":"","deleted_at":null},{"comment":"","deployed":false,"testing":false,"number":7,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"created_at":"2019-04-24T14:11:18Z","updated_at":"2019-04-24T14:11:55Z","active":false},{"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"locked":true,"active":true,"comment":"","staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"testing":false,"deployed":false,"number":9,"comment":"","active":false,"updated_at":"2019-04-24T14:12:13Z","created_at":"2019-04-24T14:11:58Z","locked":false}],"name":"Jimdo + Fastly Ansible Module Test","updated_at":"2019-04-24T14:09:39Z","deleted_at":null,"created_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2317'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:36 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692617.697626,VS0,VE149'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2317' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:18 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19148-FRA + x-timer: + - S1556115138.720635,VS0,VE695 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692617.907321,VS0,VE113'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115139.564338,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692617.079565,VS0,VE121'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19149-FRA + x-timer: + - S1556115139.186328,VS0,VE177 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled index bd02b71..bd8ddee 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled @@ -2,159 +2,300 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:58Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:13Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2317'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:37 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692617.326204,VS0,VE416'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2317' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:19 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19142-FRA + x-timer: + - S1556115140.596634,VS0,VE251 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:38 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692618.799827,VS0,VE385'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19161-FRA + x-timer: + - S1556115140.960068,VS0,VE475 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:38 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527692618.245578,VS0,VE122'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:20 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19155-FRA + x-timer: + - S1556115141.615928,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:58Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:13Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2317'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:38 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692618.425972,VS0,VE146'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2317' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19167-FRA + x-timer: + - S1556115141.017985,VS0,VE270 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:38 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527692619.629268,VS0,VE122'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115141.400236,VS0,VE186 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:38 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692619.806440,VS0,VE118'] - status: {code: 200, message: OK} + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:21 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19169-FRA + x-timer: + - S1556115142.745925,VS0,VE180 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist b/tests/fixtures/cassettes/test_service_does_not_exist index 54e4a84..ac61cb0 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist +++ b/tests/fixtures/cassettes/test_service_does_not_exist @@ -2,542 +2,1109 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2317'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692619.023877,VS0,VE178'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:39Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:09:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:40Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:13Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:09:57Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:31Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:16Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:10:53Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:34Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:15Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:10:59Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:35Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:18Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:11:55Z","active":true,"number":8,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:11:38Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:58Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:13Z","deployed":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2317' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:22 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19135-FRA + x-timer: + - S1556115142.329509,VS0,VE553 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"active":false,"locked":false,"created_at":"2019-04-24T14:09:39Z","updated_at":"2019-04-24T14:09:39Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"comment":"","deployed":false,"number":1,"testing":false,"deleted_at":null},{"locked":true,"created_at":"2019-04-24T14:09:40Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","updated_at":"2019-04-24T14:10:13Z","active":false,"comment":"","deployed":false,"testing":false,"number":2,"deleted_at":null,"staging":false},{"testing":false,"deployed":false,"number":3,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:10:31Z","created_at":"2019-04-24T14:09:57Z","active":false},{"staging":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"deployed":false,"number":4,"testing":false,"comment":"","active":false,"updated_at":"2019-04-24T14:10:53Z","created_at":"2019-04-24T14:10:16Z","locked":true},{"locked":true,"updated_at":"2019-04-24T14:11:15Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:10:34Z","active":false,"deployed":false,"testing":false,"number":5,"comment":"","deleted_at":null,"staging":false},{"number":6,"deployed":false,"testing":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"staging":false,"locked":true,"updated_at":"2019-04-24T14:11:35Z","created_at":"2019-04-24T14:10:59Z","active":false},{"deployed":false,"number":7,"testing":false,"comment":"","deleted_at":null,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"locked":true,"updated_at":"2019-04-24T14:11:55Z","created_at":"2019-04-24T14:11:18Z","active":false},{"service_id":"7hessp2jFvpG3vKHOQ1tTj","deleted_at":null,"comment":"","testing":false,"deployed":false,"number":8,"staging":false,"created_at":"2019-04-24T14:11:38Z","updated_at":"2019-04-24T14:11:55Z","locked":true,"active":true},{"created_at":"2019-04-24T14:11:58Z","updated_at":"2019-04-24T14:12:13Z","service_id":"7hessp2jFvpG3vKHOQ1tTj","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"number":9,"testing":false,"staging":false}],"created_at":"2019-04-24T14:09:39Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:09:39Z","id":"7hessp2jFvpG3vKHOQ1tTj","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:13Z","active":false,"number":9,"service_id":"7hessp2jFvpG3vKHOQ1tTj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2019-04-24T14:11:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5642'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:39 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692619.261004,VS0,VE160'] - status: {code: 200, message: OK} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"staging":false,"comment":"","service_id":"7hessp2jFvpG3vKHOQ1tTj","created_at":"2019-04-24T14:11:38Z","deleted_at":null,"testing":false,"updated_at":"2019-04-24T14:11:55Z","number":8,"deployed":false,"active":true,"locked":true,"acls":[],"backends":[{"ipv4":"127.0.0.1","error_threshold":0,"auto_loadbalance":false,"shield":null,"first_byte_timeout":15000,"comment":"","request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"ssl_ca_cert":null,"address":"127.0.0.1","ssl_cert_hostname":null,"weight":100,"max_tls_version":null,"min_tls_version":null,"connect_timeout":1000,"between_bytes_timeout":10000,"client_cert":null,"ssl_client_cert":null,"ssl_hostname":null,"name":"localhost","ipv6":null,"use_ssl":false,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"max_conn":200,"ssl_client_key":null,"hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"request_condition":null,"type":"response","name":"Set + Location header","dst":"http.Location","response_condition":null,"substitution":"","src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","regex":"","cache_condition":null,"action":"set","ignore_if_set":"0"}],"healthchecks":[],"request_settings":[],"response_objects":[{"content":"","request_condition":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '5664' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:23 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115143.086223,VS0,VE177 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/deactivate + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj/version/8/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:39 GMT'] - fastly-ratelimit-remaining: ['851'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527692619.479252,VS0,VE205'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":false,"service_id":"7hessp2jFvpG3vKHOQ1tTj","staging":false,"created_at":"2019-04-24T14:11:38Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:11:55Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:24 GMT + fastly-ratelimit-remaining: + - '900' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115143.442775,VS0,VE580 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx + uri: https://api.fastly.com/service/7hessp2jFvpG3vKHOQ1tTj response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:40 GMT'] - fastly-ratelimit-remaining: ['850'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692620.743147,VS0,VE435'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:24 GMT + fastly-ratelimit-remaining: + - '899' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556115144.185690,VS0,VE592 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Jimdo Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['117'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:40 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692620.235522,VS0,VE125'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Jimdo Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '117' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:25 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19124-FRA + x-timer: + - S1556115145.913985,VS0,VE191 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"fe248178d3a9484e1881a6ca2b11d80089d77bb8","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:03:40Z","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['518'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:40 GMT'] - fastly-ratelimit-remaining: ['849'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692620.420334,VS0,VE411'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Jimdo + Fastly Ansible Module Test","publish_key":"629060b0e859ae041cf61d85d9862c1af8146aac","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:25Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:12:25Z","comment":"","updated_at":"2019-04-24T14:12:25Z","id":"7jTZEQBaZClRSValdIdOMC"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '518' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:25 GMT + fastly-ratelimit-remaining: + - '898' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19131-FRA + x-timer: + - S1556115145.322051,VS0,VE592 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:40Z","active":false,"number":1,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:40Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1113'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:41 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692621.890150,VS0,VE449'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","versions":[{"created_at":"2019-04-24T14:12:25Z","service_id":"7jTZEQBaZClRSValdIdOMC","updated_at":"2019-04-24T14:12:25Z","locked":false,"active":false,"deleted_at":null,"comment":"","deployed":false,"testing":false,"number":1,"staging":false}],"name":"Jimdo + Fastly Ansible Module Test","updated_at":"2019-04-24T14:12:25Z","deleted_at":null,"created_at":"2019-04-24T14:12:25Z","id":"7jTZEQBaZClRSValdIdOMC","version":{"comment":"","staging":false,"deleted_at":null,"created_at":"2019-04-24T14:12:25Z","service_id":"7jTZEQBaZClRSValdIdOMC","updated_at":"2019-04-24T14:12:25Z","testing":false,"locked":false,"active":false,"deployed":false,"number":1,"acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_ttl":3600,"general.default_pci":0,"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_host":""}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1113' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:26 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115146.031627,VS0,VE670 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/1/clone + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:41 GMT'] - fastly-ratelimit-remaining: ['848'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692621.397029,VS0,VE475'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:25Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:27 GMT + fastly-ratelimit-remaining: + - '897' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115147.818060,VS0,VE614 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/domain + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692622.929667,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:27 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115148.538903,VS0,VE184 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/healthcheck + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692622.110793,VS0,VE411'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:28 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115148.839483,VS0,VE523 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/condition + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/condition response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:42 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692623.579092,VS0,VE386'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19172-FRA + x-timer: + - S1556115148.492358,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/backend + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692623.021700,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:29 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115149.225401,VS0,VE539 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/director + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527692623.198179,VS0,VE157'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:30 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115150.939637,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/cache_settings + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692623.421034,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556115151.618223,VS0,VE493 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/gzip + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:43 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692624.605494,VS0,VE118'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:31 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115151.264853,VS0,VE523 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/header + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527692624.780124,VS0,VE390'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:32 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19144-FRA + x-timer: + - S1556115152.900600,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/request_settings + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692624.228147,VS0,VE129'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19146-FRA + x-timer: + - S1556115153.607592,VS0,VE491 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/response_object + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:44 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692624.414672,VS0,VE128'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:33 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19157-FRA + x-timer: + - S1556115153.289135,VS0,VE526 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/snippet + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692625.603424,VS0,VE452'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:34 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19158-FRA + x-timer: + - S1556115154.928345,VS0,VE501 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/logging/s3 + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692625.111956,VS0,VE123'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115155.519414,VS0,VE490 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/logging/syslog + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:45 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692625.293831,VS0,VE415'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:35 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19145-FRA + x-timer: + - S1556115155.165433,VS0,VE565 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/logging/cloudfiles + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:36 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19133-FRA + x-timer: + - S1556115156.864268,VS0,VE524 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/domain + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4yGvzhUp0zdxyqqOAppQub","version":2,"deleted_at":null,"created_at":"2018-05-30T15:03:45Z","updated_at":"2018-05-30T15:03:45Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:46 GMT'] - fastly-ratelimit-remaining: ['847'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527692626.766687,VS0,VE253'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"7jTZEQBaZClRSValdIdOMC","version":2,"created_at":"2019-04-24T14:12:36Z","deleted_at":null,"updated_at":"2019-04-24T14:12:36Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '178' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:36 GMT + fastly-ratelimit-remaining: + - '896' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115157.598617,VS0,VE263 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -545,160 +1112,299 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/backend + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4yGvzhUp0zdxyqqOAppQub","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:46Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:46 GMT'] - fastly-ratelimit-remaining: ['846'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692626.079503,VS0,VE446'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7jTZEQBaZClRSValdIdOMC","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:12:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:12:37Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:37 GMT + fastly-ratelimit-remaining: + - '895' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-fra19132-FRA + x-timer: + - S1556115157.001552,VS0,VE658 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/header + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4yGvzhUp0zdxyqqOAppQub","version":"2","updated_at":"2018-05-30T15:03:46Z","deleted_at":null,"created_at":"2018-05-30T15:03:46Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:47 GMT'] - fastly-ratelimit-remaining: ['845'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527692627.586772,VS0,VE414'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7jTZEQBaZClRSValdIdOMC","version":"2","updated_at":"2019-04-24T14:12:38Z","deleted_at":null,"created_at":"2019-04-24T14:12:38Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:38 GMT + fastly-ratelimit-remaining: + - '894' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-fra19171-FRA + x-timer: + - S1556115158.780873,VS0,VE656 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/response_object + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"4yGvzhUp0zdxyqqOAppQub","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:47Z","updated_at":"2018-05-30T15:03:47Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:47 GMT'] - fastly-ratelimit-remaining: ['844'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527692627.055292,VS0,VE187'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"7jTZEQBaZClRSValdIdOMC","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:12:38Z","updated_at":"2019-04-24T14:12:38Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:39 GMT + fastly-ratelimit-remaining: + - '893' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1531-HHN + x-timer: + - S1556115159.528267,VS0,VE555 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/settings + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4yGvzhUp0zdxyqqOAppQub"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:47 GMT'] - fastly-ratelimit-remaining: ['843'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692627.301915,VS0,VE464'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7jTZEQBaZClRSValdIdOMC"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:39 GMT + fastly-ratelimit-remaining: + - '892' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1534-HHN + x-timer: + - S1556115159.270037,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/activate + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:47Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:48 GMT'] - fastly-ratelimit-remaining: ['842'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527692628.825642,VS0,VE1052'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:38Z","deployed":false,"msg":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '241' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:41 GMT + fastly-ratelimit-remaining: + - '891' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1540-HHN + x-timer: + - S1556115160.962057,VS0,VE1515 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:25Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:41Z","deployed":false}],"created_at":"2019-04-24T14:12:25Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:12:25Z","id":"7jTZEQBaZClRSValdIdOMC","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:41Z","active":true,"number":2,"service_id":"7jTZEQBaZClRSValdIdOMC","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:12:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:41Z","active":true,"number":2,"service_id":"7jTZEQBaZClRSValdIdOMC","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:12:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4015'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692629.938347,VS0,VE225'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4037' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:42 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1536-HHN + x-timer: + - S1556115162.599681,VS0,VE601 + status: + code: 200 + message: OK version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled index 265aa9a..e9b9664 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled @@ -2,541 +2,1111 @@ interactions: - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":""}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['692'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692629.268296,VS0,VE145'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:25Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:41Z","active":true,"number":2,"service_id":"7jTZEQBaZClRSValdIdOMC","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:12:27Z","comment":""}],"created_at":"2019-04-24T14:12:25Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:12:25Z","id":"7jTZEQBaZClRSValdIdOMC"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '692' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1551-HHN + x-timer: + - S1556115163.678564,VS0,VE546 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: + string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:25Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:25Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:41Z","deployed":false}],"created_at":"2019-04-24T14:12:25Z","customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","updated_at":"2019-04-24T14:12:25Z","id":"7jTZEQBaZClRSValdIdOMC","version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:41Z","active":true,"number":2,"service_id":"7jTZEQBaZClRSValdIdOMC","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:12:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2019-04-24T14:12:41Z","active":true,"number":2,"service_id":"7jTZEQBaZClRSValdIdOMC","deployed":false,"locked":true,"deleted_at":null,"created_at":"2019-04-24T14:12:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"override_host":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['4015'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:49 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527692629.470595,VS0,VE119'] - status: {code: 200, message: OK} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '4037' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:43 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1547-HHN + x-timer: + - S1556115163.451798,VS0,VE188 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/deactivate + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['231'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:49 GMT'] - fastly-ratelimit-remaining: ['841'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527692630.650662,VS0,VE219'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7jTZEQBaZClRSValdIdOMC","staging":false,"created_at":"2019-04-24T14:12:27Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:41Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '231' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:44 GMT + fastly-ratelimit-remaining: + - '890' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115164.835803,VS0,VE614 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: DELETE - uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub + uri: https://api.fastly.com/service/7jTZEQBaZClRSValdIdOMC response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:50 GMT'] - fastly-ratelimit-remaining: ['840'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692630.929037,VS0,VE420'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"ok"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '15' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:45 GMT + fastly-ratelimit-remaining: + - '889' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115165.578581,VS0,VE527 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Jimdo Fastly Ansible Module Test''"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['117'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:50 GMT'] - status: [404 Not Found] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527692630.405580,VS0,VE383'] - status: {code: 404, message: Not Found} + body: + string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load service + ''4NTmXUwFuuC5U0iJUrdEHr''-''Jimdo Fastly Ansible Module Test''"}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '117' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:45 GMT + status: + - 404 Not Found + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1532-HHN + x-timer: + - S1556115165.300011,VS0,VE476 + status: + code: 404 + message: Not Found - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"99d5f7a23f2d60310e68a50b108120893ba61b8a","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['518'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:51 GMT'] - fastly-ratelimit-remaining: ['839'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527692631.847313,VS0,VE474'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","name":"Jimdo + Fastly Ansible Module Test","publish_key":"37371dee4ca21dd9914d48f4104cf2346f0c6b16","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4NUbnLziXAWDZNurzy9tGA","staging":false,"created_at":"2019-04-24T14:12:46Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:46Z","deployed":false}],"deleted_at":null,"created_at":"2019-04-24T14:12:46Z","comment":"","updated_at":"2019-04-24T14:12:46Z","id":"4NUbnLziXAWDZNurzy9tGA"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '518' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:46 GMT + fastly-ratelimit-remaining: + - '888' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115166.889654,VS0,VE535 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/details + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}],"created_at":"2018-05-30T15:03:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:51Z","active":false,"number":1,"service_id":"5A4gcUWcjdIRnDRbhtFNce","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1113'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527692631.381583,VS0,VE152'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"id":"4NUbnLziXAWDZNurzy9tGA","created_at":"2019-04-24T14:12:46Z","deleted_at":null,"updated_at":"2019-04-24T14:12:46Z","name":"Jimdo + Fastly Ansible Module Test","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4NUbnLziXAWDZNurzy9tGA","staging":false,"created_at":"2019-04-24T14:12:46Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:46Z","deployed":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","version":{"active":false,"locked":false,"number":1,"deployed":false,"updated_at":"2019-04-24T14:12:46Z","testing":false,"deleted_at":null,"created_at":"2019-04-24T14:12:46Z","service_id":"4NUbnLziXAWDZNurzy9tGA","staging":false,"comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_pci":0,"general.default_host":""}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '1113' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:47 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1522-HHN + x-timer: + - S1556115167.543633,VS0,VE542 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/1/clone + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:51 GMT'] - fastly-ratelimit-remaining: ['838'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692632.592770,VS0,VE199'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4NUbnLziXAWDZNurzy9tGA","staging":false,"created_at":"2019-04-24T14:12:46Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:46Z","deployed":false}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '232' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:47 GMT + fastly-ratelimit-remaining: + - '887' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1543-HHN + x-timer: + - S1556115167.241564,VS0,VE590 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/domain + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/domain response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:51 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692632.853192,VS0,VE121'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:48 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115168.954254,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/healthcheck + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/healthcheck response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527692632.033632,VS0,VE446'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1550-HHN + x-timer: + - S1556115169.564823,VS0,VE507 + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/condition + response: + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:49 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115169.187144,VS0,VE473 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/condition + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/backend response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527692633.537419,VS0,VE166'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1521-HHN + x-timer: + - S1556115170.795422,VS0,VE488 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/backend + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/director response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:52 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527692633.762613,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:50 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115170.413121,VS0,VE476 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/director + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/cache_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527692633.947726,VS0,VE164'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:51 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1548-HHN + x-timer: + - S1556115171.039782,VS0,VE470 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/cache_settings + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/gzip response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527692633.169192,VS0,VE385'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1528-HHN + x-timer: + - S1556115172.638505,VS0,VE525 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/gzip + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/header response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692634.609792,VS0,VE167'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:52 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115172.285379,VS0,VE475 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/header + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/request_settings response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:53 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692634.835531,VS0,VE125'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1539-HHN + x-timer: + - S1556115173.857763,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/request_settings + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/response_object response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:54 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527692634.019007,VS0,VE127'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:53 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9035-CONTROL-SLWDC, cache-hhn1529-HHN + x-timer: + - S1556115173.491083,VS0,VE483 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/response_object + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/snippet response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:54 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527692634.205668,VS0,VE409'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:54 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1546-HHN + x-timer: + - S1556115174.093708,VS0,VE485 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/snippet + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/logging/s3 response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:54 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692635.676416,VS0,VE117'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1527-HHN + x-timer: + - S1556115175.716063,VS0,VE479 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/logging/s3 + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/logging/syslog response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:54 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527692635.853972,VS0,VE119'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:55 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1535-HHN + x-timer: + - S1556115175.327487,VS0,VE178 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/logging/syslog + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/logging/cloudfiles response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:55 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692635.033958,VS0,VE126'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '[]' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:56 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1538-HHN + x-timer: + - S1556115176.635067,VS0,VE487 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/domain + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5A4gcUWcjdIRnDRbhtFNce","version":2,"deleted_at":null,"created_at":"2018-05-30T15:03:55Z","updated_at":"2018-05-30T15:03:55Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:55 GMT'] - fastly-ratelimit-remaining: ['837'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527692635.215300,VS0,VE255'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4NUbnLziXAWDZNurzy9tGA","version":2,"updated_at":"2019-04-24T14:12:56Z","created_at":"2019-04-24T14:12:56Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '178' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:56 GMT + fastly-ratelimit-remaining: + - '886' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1537-HHN + x-timer: + - S1556115176.261280,VS0,VE564 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, @@ -544,133 +1114,250 @@ interactions: "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/backend + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5A4gcUWcjdIRnDRbhtFNce","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:55Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:55Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:55 GMT'] - fastly-ratelimit-remaining: ['836'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527692636.533108,VS0,VE458'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4NUbnLziXAWDZNurzy9tGA","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2019-04-24T14:12:57Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"override_host":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2019-04-24T14:12:57Z","comment":""}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '737' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:57 GMT + fastly-ratelimit-remaining: + - '885' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1533-HHN + x-timer: + - S1556115177.980221,VS0,VE273 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": "", "action": "set", "type": "response", "response_condition": null}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/header + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/header response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5A4gcUWcjdIRnDRbhtFNce","version":"2","updated_at":"2018-05-30T15:03:56Z","deleted_at":null,"created_at":"2018-05-30T15:03:56Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:56 GMT'] - fastly-ratelimit-remaining: ['835'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527692636.049932,VS0,VE451'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4NUbnLziXAWDZNurzy9tGA","version":"2","updated_at":"2019-04-24T14:12:58Z","created_at":"2019-04-24T14:12:58Z","deleted_at":null}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '412' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:58 GMT + fastly-ratelimit-remaining: + - '884' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9036-CONTROL-SLWDC, cache-hhn1545-HHN + x-timer: + - S1556115177.365088,VS0,VE1603 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set 302 status code", "content": "", "content_type": "", "response": "Ok"}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: POST - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/response_object + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/response_object response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"5A4gcUWcjdIRnDRbhtFNce","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:56Z","updated_at":"2018-05-30T15:03:56Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:56 GMT'] - fastly-ratelimit-remaining: ['834'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527692637.561508,VS0,VE159'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"4NUbnLziXAWDZNurzy9tGA","version":"2","deleted_at":null,"cache_condition":"","created_at":"2019-04-24T14:12:59Z","updated_at":"2019-04-24T14:12:59Z"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '278' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:12:59 GMT + fastly-ratelimit-remaining: + - '883' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1524-HHN + x-timer: + - S1556115179.117885,VS0,VE567 + status: + code: 200 + message: OK - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: - Content-Type: [application/json] + Content-Type: + - application/json method: PUT - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/settings + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5A4gcUWcjdIRnDRbhtFNce"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:57 GMT'] - fastly-ratelimit-remaining: ['833'] - fastly-ratelimit-reset: ['1527696000'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527692637.777350,VS0,VE454'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4NUbnLziXAWDZNurzy9tGA"}' + headers: + accept-ranges: + - bytes + - bytes + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '194' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:00 GMT + fastly-ratelimit-remaining: + - '882' + fastly-ratelimit-reset: + - '1556118000' + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1542-HHN + x-timer: + - S1556115180.827578,VS0,VE529 + status: + code: 200 + message: OK - request: body: null headers: - Content-Type: [application/json] + Content-Type: + - application/json method: GET - uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/details + uri: https://api.fastly.com/service/4NUbnLziXAWDZNurzy9tGA/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:56Z","deployed":false}],"created_at":"2018-05-30T15:03:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:56Z","active":false,"number":2,"service_id":"5A4gcUWcjdIRnDRbhtFNce","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2376'] - content-type: [application/json] - date: ['Wed, 30 May 2018 15:03:57 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527692637.289309,VS0,VE147'] - status: {code: 200, message: OK} + body: + string: !!python/unicode '{"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4NUbnLziXAWDZNurzy9tGA","staging":false,"created_at":"2019-04-24T14:12:46Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:46Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4NUbnLziXAWDZNurzy9tGA","staging":false,"created_at":"2019-04-24T14:12:47Z","deleted_at":null,"comment":"","updated_at":"2019-04-24T14:12:59Z","deployed":false}],"customer_id":"4NTmXUwFuuC5U0iJUrdEHr","comment":"","deleted_at":null,"created_at":"2019-04-24T14:12:46Z","id":"4NUbnLziXAWDZNurzy9tGA","name":"Jimdo + Fastly Ansible Module Test","updated_at":"2019-04-24T14:12:46Z","version":{"testing":false,"updated_at":"2019-04-24T14:12:59Z","number":2,"deployed":false,"locked":false,"active":false,"comment":"","staging":false,"service_id":"4NUbnLziXAWDZNurzy9tGA","created_at":"2019-04-24T14:12:47Z","deleted_at":null,"acls":[],"backends":[{"min_tls_version":null,"weight":100,"max_tls_version":null,"connect_timeout":1000,"ssl_client_cert":null,"client_cert":null,"between_bytes_timeout":10000,"ssl_hostname":null,"use_ssl":false,"name":"localhost","ipv6":null,"ssl_ciphers":null,"ssl_sni_hostname":null,"healthcheck":null,"hostname":null,"max_conn":200,"ssl_client_key":null,"error_threshold":0,"ipv4":"127.0.0.1","comment":"","first_byte_timeout":15000,"auto_loadbalance":false,"shield":null,"request_condition":"","port":80,"override_host":null,"ssl_check_cert":true,"address":"127.0.0.1","ssl_ca_cert":null,"ssl_cert_hostname":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"name":"cdn.example8000.com","comment":"test1"}],"gzips":[],"headers":[{"src":"\"https://u.jimcdn.com\" + req.url.path","priority":"10","cache_condition":null,"action":"set","regex":"","ignore_if_set":"0","response_condition":null,"name":"Set + Location header","dst":"http.Location","substitution":"","request_condition":null,"type":"response"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content":"","content_type":"","cache_condition":"","response":"Ok","name":"Set + 302 status code","status":"302"}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error":false,"general.stale_if_error_ttl":43200,"general.default_pci":0,"general.default_ttl":3600,"general.default_host":""}},"active_version":null}' + headers: + accept-ranges: + - bytes + - bytes + - bytes + age: + - '0' + cache-control: + - no-cache + connection: + - keep-alive + content-length: + - '2387' + content-type: + - application/json + date: + - Wed, 24 Apr 2019 14:13:01 GMT + status: + - 200 OK + strict-transport-security: + - max-age=31536000 + vary: + - Accept-Encoding + via: + - 1.1 varnish + - 1.1 varnish + x-cache: + - MISS, MISS + x-cache-hits: + - 0, 0 + x-served-by: + - cache-control-slwdc9037-CONTROL-SLWDC, cache-hhn1530-HHN + x-timer: + - S1556115181.543593,VS0,VE534 + status: + code: 200 + message: OK version: 1