| 1 | --- |
| 2 | version: 1 |
| 3 | rwmutex: {} |
| 4 | interactions: |
| 5 | - request: |
| 6 | body: Name=test-vcl&Service=7i6HN3TK9wS159v2gPAZ8A&Version=51&name=new-test-vcl |
| 7 | form: |
| 8 | Name: |
| 9 | - test-vcl |
| 10 | Service: |
| 11 | - 7i6HN3TK9wS159v2gPAZ8A |
| 12 | Version: |
| 13 | - "51" |
| 14 | name: |
| 15 | - new-test-vcl |
| 16 | headers: |
| 17 | Content-Type: |
| 18 | - application/x-www-form-urlencoded |
| 19 | Fastly-Key: |
| 20 | - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 21 | User-Agent: |
| 22 | - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12) |
| 23 | url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/51/vcl/test-vcl |
| 24 | method: PUT |
| 25 | response: |
| 26 | body: '{"service_id":"7i6HN3TK9wS159v2gPAZ8A","content":"\nbackend default {\n .host |
| 27 | = \"127.0.0.1\";\n .port = \"9092\";\n}\n\nsub vcl_recv {\n set req.backend |
| 28 | = default;\n}\n\nsub vcl_hash {\n set req.hash += req.url;\n set req.hash |
| 29 | += req.http.host;\n set req.hash += \"0\";\n}\n","updated_at":"2019-05-11T00:32:53Z","main":false,"created_at":"2019-05-11T00:32:53Z","deleted_at":null,"name":"new-test-vcl","version":51}' |
| 30 | headers: |
| 31 | Accept-Ranges: |
| 32 | - bytes |
| 33 | Cache-Control: |
| 34 | - no-cache |
| 35 | Content-Type: |
| 36 | - application/json |
| 37 | Date: |
| 38 | - Sat, 11 May 2019 00:32:54 GMT |
| 39 | Fastly-Ratelimit-Remaining: |
| 40 | - "993" |
| 41 | Fastly-Ratelimit-Reset: |
| 42 | - "1557536400" |
| 43 | Status: |
| 44 | - 200 OK |
| 45 | Strict-Transport-Security: |
| 46 | - max-age=31536000 |
| 47 | Vary: |
| 48 | - Accept-Encoding |
| 49 | Via: |
| 50 | - 1.1 varnish |
| 51 | - 1.1 varnish |
| 52 | X-Cache: |
| 53 | - MISS, MISS |
| 54 | X-Cache-Hits: |
| 55 | - 0, 0 |
| 56 | X-Served-By: |
| 57 | - cache-control-slwdc9037-CONTROL-SLWDC, cache-pao17430-PAO |
| 58 | X-Timer: |
| 59 | - S1557534775.663161,VS0,VE257 |
| 60 | status: 200 OK |
| 61 | code: 200 |