---
version: 1
rwmutex: {}
interactions:
- request:
    body: Name=test-cache-setting&Service=7i6HN3TK9wS159v2gPAZ8A&Version=11&name=new-test-cache-setting
    form:
      Name:
      - test-cache-setting
      Service:
      - 7i6HN3TK9wS159v2gPAZ8A
      Version:
      - "11"
      name:
      - new-test-cache-setting
    headers:
      Content-Type:
      - application/x-www-form-urlencoded
      Fastly-Key:
      - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      User-Agent:
      - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12)
    url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/11/cache_settings/test-cache-setting
    method: PUT
  response:
    body: '{"action":"cache","version":"11","deleted_at":null,"stale_ttl":"1500","ttl":"1234","updated_at":"2019-05-08T18:03:09Z","service_id":"7i6HN3TK9wS159v2gPAZ8A","cache_condition":"","name":"new-test-cache-setting","created_at":"2019-05-08T18:03:09Z"}'
    headers:
      Accept-Ranges:
      - bytes
      Cache-Control:
      - no-cache
      Content-Type:
      - application/json
      Date:
      - Wed, 08 May 2019 18:03:10 GMT
      Fastly-Ratelimit-Remaining:
      - "997"
      Fastly-Ratelimit-Reset:
      - "1557342000"
      Status:
      - 200 OK
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Accept-Encoding
      Via:
      - 1.1 varnish
      - 1.1 varnish
      X-Cache:
      - MISS, MISS
      X-Cache-Hits:
      - 0, 0
      X-Served-By:
      - cache-control-slwdc9036-CONTROL-SLWDC, cache-sjc3641-SJC
      X-Timer:
      - S1557338590.252976,VS0,VE246
    status: 200 OK
    code: 200
