Skip to content

Commit 8350a09

Browse files
committed
godzilla: const
1 parent 60ff2f4 commit 8350a09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

godzilla.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,15 @@ const (
2121

2222
defaultMaxRequestURLLength = 2048
2323
)
24+
25+
const (
26+
MethodGet = "GET"
27+
MethodHead = "HEAD"
28+
MethodPost = "POST"
29+
MethodPut = "PUT"
30+
MethodPatch = "PATCH"
31+
MethodDelete = "DELETE"
32+
MethodConnect = "CONNECT"
33+
MethodOptions = "OPTIONS"
34+
MethodTrace = "TRACE"
35+
)

0 commit comments

Comments
 (0)