1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
---
version: 1
rwmutex: {}
interactions:
- request:
body: Name=test-header&Service=7i6HN3TK9wS159v2gPAZ8A&Version=28&name=new-test-header
form:
Name:
- test-header
Service:
- 7i6HN3TK9wS159v2gPAZ8A
Version:
- "28"
name:
- new-test-header
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/28/header/test-header
method: PUT
response:
body: '{"request_condition":null,"deleted_at":null,"dst":"http.foo","updated_at":"2019-05-09T20:01:13Z","src":"client.ip","name":"new-test-header","type":"request","substitution":"123","action":"set","service_id":"7i6HN3TK9wS159v2gPAZ8A","ignore_if_set":"0","regex":"foobar","version":"28","cache_condition":null,"response_condition":null,"created_at":"2019-05-09T20:01:13Z","priority":"50"}'
headers:
Accept-Ranges:
- bytes
Cache-Control:
- no-cache
Content-Type:
- application/json
Date:
- Thu, 09 May 2019 20:01:14 GMT
Fastly-Ratelimit-Remaining:
- "19997"
Fastly-Ratelimit-Reset:
- "1557435600"
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-slwdc9035-CONTROL-SLWDC, cache-pao17432-PAO
X-Timer:
- S1557432074.229274,VS0,VE279
status: 200 OK
code: 200
|