Fix forbidden status codes and implicit header
This commit is contained in:
parent
4d02d2e8ed
commit
55747dc151
1 changed files with 3 additions and 2 deletions
|
@ -175,6 +175,7 @@ rules:
|
||||||
required_headers:
|
required_headers:
|
||||||
- "Content-Type"
|
- "Content-Type"
|
||||||
- "Content-Length"
|
- "Content-Length"
|
||||||
|
- "NoOneUsesThisHeader"
|
||||||
`,
|
`,
|
||||||
service: echoService,
|
service: echoService,
|
||||||
makeRequest: func() *resty.Request {
|
makeRequest: func() *resty.Request {
|
||||||
|
@ -213,7 +214,7 @@ rules:
|
||||||
conf: `
|
conf: `
|
||||||
rules:
|
rules:
|
||||||
- endpoint: "/"
|
- endpoint: "/"
|
||||||
forbidden_response_codes: [20]
|
forbidden_response_codes: [200]
|
||||||
`,
|
`,
|
||||||
service: echoService,
|
service: echoService,
|
||||||
makeRequest: func() *resty.Request {
|
makeRequest: func() *resty.Request {
|
||||||
|
@ -226,7 +227,7 @@ rules:
|
||||||
conf: `
|
conf: `
|
||||||
rules:
|
rules:
|
||||||
- endpoint: "/"
|
- endpoint: "/"
|
||||||
forbidden_response_codes: [20]
|
forbidden_response_codes: [200]
|
||||||
`,
|
`,
|
||||||
service: echoService,
|
service: echoService,
|
||||||
makeRequest: func() *resty.Request {
|
makeRequest: func() *resty.Request {
|
||||||
|
|
Loading…
Reference in a new issue