Files
podman/test/tools/vendor/github.com/go-openapi/runtime/constants.go
Paul Holzinger abd25c09e0 test/tools: update swagger to v0.33.2
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-10 12:48:12 +02:00

39 lines
1.2 KiB
Go

// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
// SPDX-License-Identifier: Apache-2.0
package runtime
const (
// HeaderContentType represents a [http] content-type header, it's value is supposed to be a mime type.
HeaderContentType = "Content-Type"
// HeaderTransferEncoding represents a [http] transfer-encoding header.
HeaderTransferEncoding = "Transfer-Encoding"
// HeaderAccept the Accept header.
HeaderAccept = "Accept"
// HeaderAuthorization the Authorization header.
HeaderAuthorization = "Authorization"
charsetKey = "charset"
// DefaultMime the default fallback mime type.
DefaultMime = "application/octet-stream"
// JSONMime the json mime type.
JSONMime = "application/json"
// YAMLMime the [yaml] mime type.
YAMLMime = "application/x-yaml"
// XMLMime the [xml] mime type.
XMLMime = "application/xml"
// TextMime the text mime type.
TextMime = "text/plain"
// HTMLMime the html mime type.
HTMLMime = "text/html"
// CSVMime the [csv] mime type.
CSVMime = "text/csv"
// MultipartFormMime the multipart form mime type.
MultipartFormMime = "multipart/form-data"
// URLencodedFormMime is the [url] encoded form mime type.
URLencodedFormMime = "application/x-www-form-urlencoded"
)