Skip to content

Commit

Permalink
[bfetch] set 'X-Accel-Buffering':'no' to streaming response headers (
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Sep 7, 2022
1 parent f29473b commit ea8e034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/bfetch/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const streamingHeaders = {
'Content-Type': 'application/x-ndjson',
Connection: 'keep-alive',
'Transfer-Encoding': 'chunked',
'X-Accel-Buffering': 'no',
};

interface Query {
Expand Down

0 comments on commit ea8e034

Please sign in to comment.