From a0741d99b80d7da1c063853382756b3a9689f6a7 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Sun, 30 Aug 2020 07:49:26 -0400 Subject: Add TLSConfig to nctalk (#1195) Signed-off-by: Gary Kim --- vendor/github.com/monaco-io/request/const.go | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 vendor/github.com/monaco-io/request/const.go (limited to 'vendor/github.com/monaco-io/request/const.go') diff --git a/vendor/github.com/monaco-io/request/const.go b/vendor/github.com/monaco-io/request/const.go new file mode 100644 index 00000000..d7b108fa --- /dev/null +++ b/vendor/github.com/monaco-io/request/const.go @@ -0,0 +1,46 @@ +package request + +const ( + // ApplicationJSON application/json + ApplicationJSON ContentType = "application/json" + + // ApplicationXWwwFormURLEncoded application/x-www-form-urlencoded + ApplicationXWwwFormURLEncoded ContentType = "application/x-www-form-urlencoded" + + // MultipartFormData multipart/form-data + MultipartFormData ContentType = "multipart/form-data" +) + +const ( + // OPTIONS http options + OPTIONS = "OPTIONS" + + // GET http get + GET = "GET" + + // HEAD http head + HEAD = "HEAD" + + // POST http post + POST = "POST" + + // PUT http put + PUT = "PUT" + + // DELETE http delete + DELETE = "DELETE" + + // TRACE http trace + TRACE = "TRACE" + + // CONNECT http connect + CONNECT = "CONNECT" + + // PATCH http patch + PATCH = "PATCH" +) + +const ( + emptyString = "" + contentType = "Content-Type" +) -- cgit v1.2.3