aboutsummaryrefslogtreecommitdiffstats
path: root/library/go/httputil/headers/content.go
diff options
context:
space:
mode:
authorqrort <qrort@yandex-team.com>2022-12-02 11:31:25 +0300
committerqrort <qrort@yandex-team.com>2022-12-02 11:31:25 +0300
commitb1f4ffc9c8abff3ba58dc1ec9a9f92d2f0de6806 (patch)
tree2a23209faf0fea5586a6d4b9cee60d1b318d29fe /library/go/httputil/headers/content.go
parent559174a9144de40d6bb3997ea4073c82289b4974 (diff)
downloadydb-b1f4ffc9c8abff3ba58dc1ec9a9f92d2f0de6806.tar.gz
remove kikimr/driver DEPENDS
Diffstat (limited to 'library/go/httputil/headers/content.go')
-rw-r--r--library/go/httputil/headers/content.go57
1 files changed, 0 insertions, 57 deletions
diff --git a/library/go/httputil/headers/content.go b/library/go/httputil/headers/content.go
deleted file mode 100644
index b92e013cc32..00000000000
--- a/library/go/httputil/headers/content.go
+++ /dev/null
@@ -1,57 +0,0 @@
-package headers
-
-type ContentType string
-
-// String implements stringer interface
-func (ct ContentType) String() string {
- return string(ct)
-}
-
-type ContentEncoding string
-
-// String implements stringer interface
-func (ce ContentEncoding) String() string {
- return string(ce)
-}
-
-const (
- ContentTypeKey = "Content-Type"
- ContentLength = "Content-Length"
- ContentEncodingKey = "Content-Encoding"
-
- ContentTypeAny ContentType = "*/*"
-
- TypeApplicationJSON ContentType = "application/json"
- TypeApplicationXML ContentType = "application/xml"
- TypeApplicationOctetStream ContentType = "application/octet-stream"
- TypeApplicationProtobuf ContentType = "application/protobuf"
- TypeApplicationMsgpack ContentType = "application/msgpack"
- TypeApplicationXSolomonSpack ContentType = "application/x-solomon-spack"
-
- EncodingAny ContentEncoding = "*"
- EncodingZSTD ContentEncoding = "zstd"
- EncodingLZ4 ContentEncoding = "lz4"
- EncodingGZIP ContentEncoding = "gzip"
- EncodingDeflate ContentEncoding = "deflate"
-
- TypeTextPlain ContentType = "text/plain"
- TypeTextHTML ContentType = "text/html"
- TypeTextCSV ContentType = "text/csv"
- TypeTextCmd ContentType = "text/cmd"
- TypeTextCSS ContentType = "text/css"
- TypeTextXML ContentType = "text/xml"
- TypeTextMarkdown ContentType = "text/markdown"
-
- TypeImageAny ContentType = "image/*"
- TypeImageJPEG ContentType = "image/jpeg"
- TypeImageGIF ContentType = "image/gif"
- TypeImagePNG ContentType = "image/png"
- TypeImageSVG ContentType = "image/svg+xml"
- TypeImageTIFF ContentType = "image/tiff"
- TypeImageWebP ContentType = "image/webp"
-
- TypeVideoMPEG ContentType = "video/mpeg"
- TypeVideoMP4 ContentType = "video/mp4"
- TypeVideoOgg ContentType = "video/ogg"
- TypeVideoWebM ContentType = "video/webm"
-)