Skip to content

Commit

Permalink
Merge pull request #128501 from benluddy/watch-cbor-seq
Browse files Browse the repository at this point in the history
KEP-4222: Use cbor-seq content-type for CBOR watch responses.

Kubernetes-commit: a885e446d6f6f5530da4923a3872eb27ca47bdc0
  • Loading branch information
k8s-publishing-bot committed Nov 6, 2024
2 parents d70754f + 8019856 commit daaad09
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/runtime/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ type TypeMeta struct {
}

const (
ContentTypeJSON string = "application/json"
ContentTypeYAML string = "application/yaml"
ContentTypeProtobuf string = "application/vnd.kubernetes.protobuf"
ContentTypeCBOR string = "application/cbor"
ContentTypeJSON string = "application/json"
ContentTypeYAML string = "application/yaml"
ContentTypeProtobuf string = "application/vnd.kubernetes.protobuf"
ContentTypeCBOR string = "application/cbor" // RFC 8949
ContentTypeCBORSequence string = "application/cbor-seq" // RFC 8742
)

// RawExtension is used to hold extensions in external versions.
Expand Down

0 comments on commit daaad09

Please sign in to comment.