-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttp.go
More file actions
98 lines (95 loc) · 5.13 KB
/
http.go
File metadata and controls
98 lines (95 loc) · 5.13 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package mplus
import (
"github.com/tangzixiang/mplus/mhttp"
)
type StatusMethodCallback = mhttp.StatusMethodCallback
type ResponseWriter = mhttp.ResponseWriter
var (
EmptyRespData = mhttp.EmptyRespData
DefaultMemorySize = mhttp.DefaultMemorySize
SetDefaultMemorySize = mhttp.SetDefaultMemorySize
Abort = mhttp.Abort
NotAbort = mhttp.NotAbort
IsAbort = mhttp.IsAbort
Error = mhttp.Error
ErrorEmpty = mhttp.ErrorEmpty
Plain = mhttp.Plain
PlainEmpty = mhttp.PlainEmpty
AbortError = mhttp.AbortError
AbortEmptyError = mhttp.AbortEmptyError
AbortPlain = mhttp.AbortPlain
AbortEmptyPlain = mhttp.AbortEmptyPlain
Redirect = mhttp.Redirect
JSON = mhttp.JSON
JSONOK = mhttp.JSONOK
DumpRequest = mhttp.DumpRequest
DumpRequestPure = mhttp.DumpRequestPure
RegisterHttpStatusMethod = mhttp.RegisterHttpStatusMethod
NewResponseWrite = mhttp.NewResponseWrite
GetHTTPRespStatus = mhttp.GetHTTPRespStatus
SetHTTPRespStatus = mhttp.SetHTTPRespStatus
UnWrapResponseWriter = mhttp.UnWrapResponseWriter
CopyRequest = mhttp.CopyRequest
OK = mhttp.OK
Created = mhttp.Created
Accepted = mhttp.Accepted
NonAuthoritativeInfo = mhttp.NonAuthoritativeInfo
NoContent = mhttp.NoContent
ResetContent = mhttp.ResetContent
PartialContent = mhttp.PartialContent
MultiStatus = mhttp.MultiStatus
AlreadyReported = mhttp.AlreadyReported
IMUsed = mhttp.IMUsed
MultipleChoices = mhttp.MultipleChoices
MovedPermanently = mhttp.MovedPermanently
Found = mhttp.Found
SeeOther = mhttp.SeeOther
NotModified = mhttp.NotModified
UseProxy = mhttp.UseProxy
TemporaryRedirect = mhttp.TemporaryRedirect
PermanentRedirect = mhttp.PermanentRedirect
BadRequest = mhttp.BadRequest
Unauthorized = mhttp.Unauthorized
PaymentRequired = mhttp.PaymentRequired
Forbidden = mhttp.Forbidden
NotFound = mhttp.NotFound
MethodNotAllowed = mhttp.MethodNotAllowed
NotAcceptable = mhttp.NotAcceptable
ProxyAuthRequired = mhttp.ProxyAuthRequired
RequestTimeout = mhttp.RequestTimeout
Conflict = mhttp.Conflict
Gone = mhttp.Gone
LengthRequired = mhttp.LengthRequired
PreconditionFailed = mhttp.PreconditionFailed
RequestEntityTooLarge = mhttp.RequestEntityTooLarge
RequestURITooLong = mhttp.RequestURITooLong
UnsupportedMediaType = mhttp.UnsupportedMediaType
RequestedRangeNotSatisfiable = mhttp.RequestedRangeNotSatisfiable
ExpectationFailed = mhttp.ExpectationFailed
Teapot = mhttp.Teapot
MisdirectedRequest = mhttp.MisdirectedRequest
UnprocessableEntity = mhttp.UnprocessableEntity
Locked = mhttp.Locked
FailedDependency = mhttp.FailedDependency
TooEarly = mhttp.TooEarly
UpgradeRequired = mhttp.UpgradeRequired
PreconditionRequired = mhttp.PreconditionRequired
TooManyRequests = mhttp.TooManyRequests
RequestHeaderFieldsTooLarge = mhttp.RequestHeaderFieldsTooLarge
UnavailableForLegalReasons = mhttp.UnavailableForLegalReasons
InternalServerError = mhttp.InternalServerError
NotImplemented = mhttp.NotImplemented
BadGateway = mhttp.BadGateway
ServiceUnavailable = mhttp.ServiceUnavailable
GatewayTimeout = mhttp.GatewayTimeout
HTTPVersionNotSupported = mhttp.HTTPVersionNotSupported
VariantAlsoNegotiates = mhttp.VariantAlsoNegotiates
InsufficientStorage = mhttp.InsufficientStorage
LoopDetected = mhttp.LoopDetected
NotExtended = mhttp.NotExtended
NetworkAuthenticationRequired = mhttp.NetworkAuthenticationRequired
CallRegisterFuncOrAbortEmptyError = mhttp.CallRegisterFuncOrAbortEmptyError
CallRegisterFuncOrAbortEmptyPlain = mhttp.CallRegisterFuncOrAbortEmptyPlain
CallRegisterFuncOrAbortError = mhttp.CallRegisterFuncOrAbortError
CallRegisterFuncOrAbortPlain = mhttp.CallRegisterFuncOrAbortPlain
)