nip200: stream endpoint must be served with Transfer-Encoding: chunked

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2024-01-11 22:37:49 +07:00
parent f540cf8c49
commit ee51fa4b60

2
200.md
View File

@ -67,3 +67,5 @@ Relay may start streaming to client when connected to `stream` endpoint by sendi
{ "id": ..., "content": .... } { "id": ..., "content": .... }
{ "id": ..., "content": .... } { "id": ..., "content": .... }
``` ```
Relay must ensure that the `stream` endpoint **MUST** be served with `Transfer-Encoding: chunked` header.