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