From 59ffc333cc951909d962548f9d3bd88a7c3686e9 Mon Sep 17 00:00:00 2001 From: Lorna Mitchell Date: Tue, 22 Aug 2023 11:03:35 +0100 Subject: [PATCH 1/2] chore: Use http message binding format for headers --- examples/gitter-streaming.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/gitter-streaming.yml b/examples/gitter-streaming.yml index 444bc9b81..0e814abf8 100644 --- a/examples/gitter-streaming.yml +++ b/examples/gitter-streaming.yml @@ -160,5 +160,7 @@ components: streamingHeaders: http: headers: - 'Transfer-Encoding': 'chunked' - Trailer: '\r\n' + type: object + properties: + 'Transfer-Encoding': 'chunked' + Trailer: '\r\n' From 82d1d144a2bd493c5d5ec3b019a8e08c3ad756f5 Mon Sep 17 00:00:00 2001 From: Lorna Jane Mitchell Date: Tue, 5 Sep 2023 08:42:34 +0100 Subject: [PATCH 2/2] Update examples/gitter-streaming.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fran Méndez --- examples/gitter-streaming.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/gitter-streaming.yml b/examples/gitter-streaming.yml index 0e814abf8..b1dd57b29 100644 --- a/examples/gitter-streaming.yml +++ b/examples/gitter-streaming.yml @@ -162,5 +162,7 @@ components: headers: type: object properties: - 'Transfer-Encoding': 'chunked' - Trailer: '\r\n' + 'Transfer-Encoding': + const: 'chunked' + Trailer: + const: '\r\n'