Send 'Retry-After' to comply with RFC6585.
This commit is contained in:
parent
027093a5a5
commit
8d75aba7eb
29 changed files with 435 additions and 172 deletions
1
vendor/github.com/vulcand/oxy/buffer/threshold.go
generated
vendored
1
vendor/github.com/vulcand/oxy/buffer/threshold.go
generated
vendored
|
@ -7,6 +7,7 @@ import (
|
|||
"github.com/vulcand/predicate"
|
||||
)
|
||||
|
||||
// IsValidExpression check if it's a valid expression
|
||||
func IsValidExpression(expr string) bool {
|
||||
_, err := parseExpression(expr)
|
||||
return err == nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue