mirror of
https://github.com/containers/podman.git
synced 2026-07-10 15:25:00 -04:00
39 lines
1.2 KiB
Go
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"
|
|
)
|