mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
+1
-1
@@ -295,7 +295,7 @@ func Status(payload []byte) []byte {
|
||||
}
|
||||
|
||||
var httpMethods []string = []string{
|
||||
"GET ", "OPTI", "HEAD", "POST", "PUT ", "DELE", "TRAC", "CONN",
|
||||
"GET ", "OPTI", "HEAD", "POST", "PUT ", "DELE", "TRAC", "CONN", /* custom methods */"BAN", "PURG"
|
||||
}
|
||||
|
||||
func IsHTTPPayload(payload []byte) bool {
|
||||
|
||||
Reference in New Issue
Block a user