mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Handle streaming serializers more consistently
Add tests to watch behavior in both protocols (http and websocket) against all 3 media types. Adopt the `application/vnd.kubernetes.protobuf;stream=watch` media type for the content that comes back from a watch call so that it can be distinguished from a Status result.
This commit is contained in:
@@ -71,8 +71,7 @@ type RequestScope struct {
|
||||
Namer ScopeNamer
|
||||
ContextFunc
|
||||
|
||||
Serializer runtime.NegotiatedSerializer
|
||||
StreamSerializer runtime.NegotiatedSerializer
|
||||
Serializer runtime.NegotiatedSerializer
|
||||
runtime.ParameterCodec
|
||||
|
||||
Creater runtime.ObjectCreater
|
||||
|
||||
Reference in New Issue
Block a user