From e68e6d248e46acf3bfb34620110a22ccd839cb8e Mon Sep 17 00:00:00 2001 From: delphinus Date: Thu, 3 May 2018 17:48:53 +0900 Subject: [PATCH] Use private-like key for body bytes --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index c0f0b6b2..bbca1ff2 100755 --- a/context.go +++ b/context.go @@ -31,7 +31,7 @@ const ( MIMEPlain = binding.MIMEPlain MIMEPOSTForm = binding.MIMEPOSTForm MIMEMultipartPOSTForm = binding.MIMEMultipartPOSTForm - BodyBytesKey = "github.com/gin-gonic/gin/bodyBytes" + BodyBytesKey = "_gin-gonic/gin/bodybyteskey" ) const abortIndex int8 = math.MaxInt8 / 2