| 1 | --- |
| 2 | version: 1 |
| 3 | rwmutex: {} |
| 4 | interactions: |
| 5 | - request: |
| 6 | body: "" |
| 7 | form: {} |
| 8 | headers: |
| 9 | Fastly-Key: |
| 10 | - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 11 | User-Agent: |
| 12 | - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12) |
| 13 | url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/48/snippet/testsnip0 |
| 14 | method: GET |
| 15 | response: |
| 16 | body: '{"type":"recv","priority":"100","dynamic":"0","content":"\n\t# testing |
| 17 | EdgeACL2 and EdgeDictionary2\n\t declare local var.number2 STRING;\n\t set var.number2 |
| 18 | = table.lookup(demoDICTtest, client.as.number);\n\n\t if (var.number2 == \"true\") |
| 19 | {\n\t set req.http.securityruleid = \"num2-block\";\n\t error 403 \"Access |
| 20 | Denied\";\n\t }\n ","id":"0PJ48WhuJVqxpqIAldWQ4E","deleted_at":null,"updated_at":"2019-05-10T18:17:55Z","created_at":"2019-05-10T18:17:55Z","name":"testsnip0","version":"48","service_id":"7i6HN3TK9wS159v2gPAZ8A"}' |
| 21 | headers: |
| 22 | Accept-Ranges: |
| 23 | - bytes |
| 24 | Age: |
| 25 | - "0" |
| 26 | Cache-Control: |
| 27 | - no-cache |
| 28 | Content-Type: |
| 29 | - application/json |
| 30 | Date: |
| 31 | - Fri, 10 May 2019 18:17:58 GMT |
| 32 | Status: |
| 33 | - 200 OK |
| 34 | Strict-Transport-Security: |
| 35 | - max-age=31536000 |
| 36 | Vary: |
| 37 | - Accept-Encoding |
| 38 | Via: |
| 39 | - 1.1 varnish |
| 40 | - 1.1 varnish |
| 41 | X-Cache: |
| 42 | - MISS, MISS |
| 43 | X-Cache-Hits: |
| 44 | - 0, 0 |
| 45 | X-Served-By: |
| 46 | - cache-control-slwdc9035-CONTROL-SLWDC, cache-lax8628-LAX |
| 47 | X-Timer: |
| 48 | - S1557512278.884376,VS0,VE161 |
| 49 | status: 200 OK |
| 50 | code: 200 |