Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f29ae55173 |
@@ -139,7 +139,9 @@ func TestExpectAndContentEncodingAreAllowed(t *testing.T) {
|
||||
request{http.MethodPost, push, []string{pushType, length, "Expect: 100-continue"}},
|
||||
waf.Result{})
|
||||
wantResult(t, crs,
|
||||
request{http.MethodPost, fetch, []string{fetchType, length, "Content-Encoding: gzip"}},
|
||||
request{http.MethodPost, fetch, []string{
|
||||
fetchType, length, "Content-Encoding: gzip",
|
||||
}},
|
||||
waf.Result{})
|
||||
|
||||
// Every other header on the Core Rule Set's list stays refused.
|
||||
|
||||
Reference in New Issue
Block a user