From 0a37bfd0a4306fab0301d83f9ae516d2dfd73dd7 Mon Sep 17 00:00:00 2001 From: soulseen Date: Mon, 6 May 2019 16:44:23 +0800 Subject: [PATCH] update const Signed-off-by: soulseen --- vendor/github.com/emicklei/go-restful/constants.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vendor/github.com/emicklei/go-restful/constants.go b/vendor/github.com/emicklei/go-restful/constants.go index 36bd97ec2..203439c5e 100644 --- a/vendor/github.com/emicklei/go-restful/constants.go +++ b/vendor/github.com/emicklei/go-restful/constants.go @@ -5,10 +5,9 @@ package restful // that can be found in the LICENSE file. const ( - MIME_XML = "application/xml" // Accept or Content-Type used in Consumes() and/or Produces() - MIME_JSON = "application/json" // Accept or Content-Type used in Consumes() and/or Produces() - MIME_FORM = "application/x-www-form-urlencoded" // Accept or Content-Type used in Consumes() and/or Produces() - MIME_OCTET = "application/octet-stream" // If Content-Type is not present in request, use the default + MIME_XML = "application/xml" // Accept or Content-Type used in Consumes() and/or Produces() + MIME_JSON = "application/json" // Accept or Content-Type used in Consumes() and/or Produces() + MIME_OCTET = "application/octet-stream" // If Content-Type is not present in request, use the default HEADER_Allow = "Allow" HEADER_Accept = "Accept"