From ee51fa4b60f4996921ebf65d6ff234deeb6ce80a Mon Sep 17 00:00:00 2001 From: Yonle Date: Thu, 11 Jan 2024 22:37:49 +0700 Subject: [PATCH] nip200: stream endpoint must be served with Transfer-Encoding: chunked Signed-off-by: Yonle --- 200.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/200.md b/200.md index 6ea40e1b..7214e376 100644 --- a/200.md +++ b/200.md @@ -67,3 +67,5 @@ Relay may start streaming to client when connected to `stream` endpoint by sendi { "id": ..., "content": .... } { "id": ..., "content": .... } ``` + +Relay must ensure that the `stream` endpoint **MUST** be served with `Transfer-Encoding: chunked` header.