forked from gramework/gramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.go
More file actions
37 lines (25 loc) · 624 Bytes
/
const.go
File metadata and controls
37 lines (25 loc) · 624 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package gramework
const (
// MethodDELETE is the HTTP DELETE method
MethodDELETE = "DELETE"
// MethodGET is the HTTP GET method
MethodGET = "GET"
// MethodHEAD is the HTTP HEAD method
MethodHEAD = "HEAD"
// MethodOPTIONS is the HTTP OPTIONS method
MethodOPTIONS = "OPTIONS"
// MethodPATCH is the HTTP PATCH method
MethodPATCH = "PATCH"
// MethodPOST is the HTTP POST method
MethodPOST = "POST"
// MethodPUT is the HTTP PUT method
MethodPUT = "PUT"
)
const (
emptyString = ""
fmtV = "%v"
htmlCT = "text/html; charset=utf8"
xmlCT = "text/xml"
plainCT = "text/plain"
acceptHeader = "Accept"
)