diff --git a/context.go b/context.go index 4bbd41d3..bbf1fc03 100644 --- a/context.go +++ b/context.go @@ -39,6 +39,8 @@ const ( const abortIndex int8 = math.MaxInt8 / 2 +const httpStatusClientClosedRequest = 499 + // Context is the most important part of gin. It allows us to pass variables between middleware, // manage the flow, validate the JSON of a request and render a JSON response for example. type Context struct {