Debian Codegraph @

fastly/fixtures/vcl_snippets/update_dyn.yaml

raw symbols SCIP
1 ---
2 version: 1
3 rwmutex: {}
4 interactions:
5 - request:
6 body: ID=4tZ3EnzeCIiKtsmQcJRs2X&Service=7i6HN3TK9wS159v2gPAZ8A&content=%0A%09+%23+testing+EdgeACL5+and+EdgeDictionary5%0A%09+declare+local+var.number5+STRING%3B%0A%09+set+var.number5+%3D+table.lookup%28demoDICTtest%2C+client.as.number%29%3B%0A%0A%09+if+%28var.number5+%3D%3D+%22true%22%29+%7B%0A%09+set+req.http.securityruleid+%3D+%22num5-block%22%3B%0A%09+error+403+%22Access+Denied%22%3B%0A%09++%7D%0A++++
7 form:
8 ID:
9 - 4tZ3EnzeCIiKtsmQcJRs2X
10 Service:
11 - 7i6HN3TK9wS159v2gPAZ8A
12 content:
13 - "\n\t # testing EdgeACL5 and EdgeDictionary5\n\t declare local var.number5
14 STRING;\n\t set var.number5 = table.lookup(demoDICTtest, client.as.number);\n\n\t
15 if (var.number5 == \"true\") {\n\t set req.http.securityruleid = \"num5-block\";\n\t
16 error 403 \"Access Denied\";\n\t }\n "
17 headers:
18 Content-Type:
19 - application/x-www-form-urlencoded
20 Fastly-Key:
21 - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
22 User-Agent:
23 - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12)
24 url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/snippet/4tZ3EnzeCIiKtsmQcJRs2X
25 method: PUT
26 response:
27 body: '{"content":"\n\t # testing EdgeACL5 and EdgeDictionary5\n\t declare local
28 var.number5 STRING;\n\t set var.number5 = table.lookup(demoDICTtest, client.as.number);\n\n\t
29 if (var.number5 == \"true\") {\n\t set req.http.securityruleid = \"num5-block\";\n\t
30 error 403 \"Access Denied\";\n\t }\n ","snippet_id":"4tZ3EnzeCIiKtsmQcJRs2X","created_at":"2019-05-10T18:17:55Z","service_id":"7i6HN3TK9wS159v2gPAZ8A","updated_at":"2019-05-10T18:17:55Z"}'
31 headers:
32 Accept-Ranges:
33 - bytes
34 Cache-Control:
35 - no-cache
36 Content-Type:
37 - application/json
38 Date:
39 - Fri, 10 May 2019 18:17:56 GMT
40 Fastly-Ratelimit-Remaining:
41 - "996"
42 Fastly-Ratelimit-Reset:
43 - "1557514800"
44 Status:
45 - 200 OK
46 Strict-Transport-Security:
47 - max-age=31536000
48 Vary:
49 - Accept-Encoding
50 Via:
51 - 1.1 varnish
52 - 1.1 varnish
53 X-Cache:
54 - MISS, MISS
55 X-Cache-Hits:
56 - 0, 0
57 X-Served-By:
58 - cache-control-slwdc9036-CONTROL-SLWDC, cache-lax8628-LAX
59 X-Timer:
60 - S1557512276.068591,VS0,VE876
61 status: 200 OK
62 code: 200