-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(request_settings): make action a pointer in update (#488)
- Loading branch information
1 parent
d9cb56c
commit 823f830
Showing
11 changed files
with
221 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
version: 1 | ||
interactions: | ||
- request: | ||
body: action= | ||
form: | ||
action: | ||
- "" | ||
headers: | ||
Content-Type: | ||
- application/x-www-form-urlencoded | ||
User-Agent: | ||
- FastlyGo/8.6.4 (+github.com/fastly/go-fastly; go1.19.12) | ||
url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/4/request_settings/new-test-request-setting | ||
method: PUT | ||
response: | ||
body: '{"action":"","geo_headers":"1","version":"4","request_condition":"","deleted_at":null,"xff":"leave","created_at":"2023-11-16T15:53:54Z","timer_support":"1","service_id":"7i6HN3TK9wS159v2gPAZ8A","updated_at":"2023-11-16T15:53:55Z","max_stale_age":"30","bypass_busy_wait":"1","force_ssl":"1","name":"new-test-request-setting","hash_keys":"a,b,c","default_host":"example.com","force_miss":"1"}' | ||
headers: | ||
Accept-Ranges: | ||
- bytes | ||
Cache-Control: | ||
- no-store | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Thu, 16 Nov 2023 15:53:56 GMT | ||
Fastly-Ratelimit-Remaining: | ||
- "9991" | ||
Fastly-Ratelimit-Reset: | ||
- "1700150400" | ||
Pragma: | ||
- no-cache | ||
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-cp-aws-us-east-2-prod-2-CONTROL-AWS-UE2, cache-lcy-eglc8600073-LCY | ||
X-Timer: | ||
- S1700150036.835370,VS0,VE526 | ||
status: 200 OK | ||
code: 200 | ||
duration: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
version: 1 | ||
interactions: | ||
- request: | ||
body: action= | ||
form: | ||
action: | ||
- "" | ||
headers: | ||
Content-Type: | ||
- application/x-www-form-urlencoded | ||
User-Agent: | ||
- FastlyGo/8.6.4 (+github.com/fastly/go-fastly; go1.19.12) | ||
url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/4/request_settings/new-test-request-setting | ||
method: PUT | ||
response: | ||
body: '{"force_ssl":"1","service_id":"7i6HN3TK9wS159v2gPAZ8A","created_at":"2023-11-16T15:53:54Z","hash_keys":"a,b,c","updated_at":"2023-11-16T15:53:56Z","bypass_busy_wait":"1","action":"","timer_support":"1","force_miss":"1","default_host":"example.com","name":"new-test-request-setting","request_condition":"","geo_headers":"1","xff":"leave","deleted_at":null,"max_stale_age":"30","version":"4"}' | ||
headers: | ||
Accept-Ranges: | ||
- bytes | ||
Cache-Control: | ||
- no-store | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Thu, 16 Nov 2023 15:53:56 GMT | ||
Fastly-Ratelimit-Remaining: | ||
- "9990" | ||
Fastly-Ratelimit-Reset: | ||
- "1700150400" | ||
Pragma: | ||
- no-cache | ||
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-cp-aws-us-east-2-prod-2-CONTROL-AWS-UE2, cache-lcy-eglc8600073-LCY | ||
X-Timer: | ||
- S1700150036.391435,VS0,VE305 | ||
status: 200 OK | ||
code: 200 | ||
duration: "" |
Oops, something went wrong.