Skip to content

Commit c7db44c

Browse files
committed
Fix content-type
1 parent 3b06333 commit c7db44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/firebase_functions/https_fn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def _on_call_handler(func: _C2, request: Request,
418418
return _jsonify(result=vals.value)
419419

420420
else:
421-
return Response(_sse_encode_generator(result), content_type="text/plain")
421+
return Response(_sse_encode_generator(result), content_type="text/event-stream")
422422

423423

424424
# Disable broad exceptions lint since we want to handle all exceptions here

0 commit comments

Comments
 (0)