mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-04-11 18:13:00 +00:00
Several packages are only used while running the e2e suite. These packages are less important to update, as the they can not influence the final executable that is part of the Ceph-CSI container-image. By moving these dependencies out of the main Ceph-CSI go.mod, it is easier to identify if a reported CVE affects Ceph-CSI, or only the testing (like most of the Kubernetes CVEs). Signed-off-by: Niels de Vos <ndevos@ibm.com>
33 lines
1.6 KiB
Go
33 lines
1.6 KiB
Go
package restful
|
|
|
|
// Copyright 2013 Ernest Micklei. All rights reserved.
|
|
// Use of this source code is governed by a license
|
|
// 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_ZIP = "application/zip" // 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"
|
|
HEADER_Origin = "Origin"
|
|
HEADER_ContentType = "Content-Type"
|
|
HEADER_ContentDisposition = "Content-Disposition"
|
|
HEADER_LastModified = "Last-Modified"
|
|
HEADER_AcceptEncoding = "Accept-Encoding"
|
|
HEADER_ContentEncoding = "Content-Encoding"
|
|
HEADER_AccessControlExposeHeaders = "Access-Control-Expose-Headers"
|
|
HEADER_AccessControlRequestMethod = "Access-Control-Request-Method"
|
|
HEADER_AccessControlRequestHeaders = "Access-Control-Request-Headers"
|
|
HEADER_AccessControlAllowMethods = "Access-Control-Allow-Methods"
|
|
HEADER_AccessControlAllowOrigin = "Access-Control-Allow-Origin"
|
|
HEADER_AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
|
|
HEADER_AccessControlAllowHeaders = "Access-Control-Allow-Headers"
|
|
HEADER_AccessControlMaxAge = "Access-Control-Max-Age"
|
|
|
|
ENCODING_GZIP = "gzip"
|
|
ENCODING_DEFLATE = "deflate"
|
|
)
|