Skip to content

Commit

Permalink
[Hit return to continue]
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Aug 4, 2023
2 parents a75834d + b3c9531 commit a1d55e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/mux/multiplexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ func (m *Multiplexer) Close() {
func isHttp(b []byte) bool {

validMethods := [][]byte{
[]byte("GET"), []byte("HEAD"), []byte("POST"),
[]byte("PUT"), []byte("DELETE"), []byte("CONNECT"),
[]byte("OPTIONS"), []byte("TRACE"), []byte("PATCH"),
[]byte("GET"), []byte("HEA"), []byte("POS"),
[]byte("PUT"), []byte("DEL"), []byte("CON"),
[]byte("OPT"), []byte("TRA"), []byte("PAT"),
}

for _, vm := range validMethods {
Expand Down

0 comments on commit a1d55e2

Please sign in to comment.