File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -814,6 +814,12 @@ func TestFullDuplexStreamed_KubeInferenceModelRequest(t *testing.T) {
814814 RawValue : []byte ("true" ),
815815 },
816816 },
817+ {
818+ Header : & configPb.HeaderValue {
819+ Key : "content-type" ,
820+ RawValue : []uint8 ("application/json" ),
821+ },
822+ },
817823 },
818824 },
819825 },
@@ -913,6 +919,12 @@ func TestFullDuplexStreamed_KubeInferenceModelRequest(t *testing.T) {
913919 RawValue : []byte ("true" ),
914920 },
915921 },
922+ {
923+ Header : & configPb.HeaderValue {
924+ Key : "content-type" ,
925+ RawValue : []uint8 ("application/json" ),
926+ },
927+ },
916928 },
917929 },
918930 },
@@ -1050,6 +1062,18 @@ func TestFullDuplexStreamed_KubeInferenceModelRequest(t *testing.T) {
10501062 RawValue : []byte ("true" ),
10511063 },
10521064 },
1065+ {
1066+ Header : & configPb.HeaderValue {
1067+ Key : "content-type" ,
1068+ RawValue : []byte ("text/event-stream" ),
1069+ },
1070+ },
1071+ {
1072+ Header : & configPb.HeaderValue {
1073+ Key : "status" ,
1074+ RawValue : []byte ("200" ),
1075+ },
1076+ },
10531077 },
10541078 },
10551079 },
You can’t perform that action at this time.
0 commit comments