Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If there is a space in front of the data, it will be truncated #43

Open
AlanFgg opened this issue May 18, 2023 · 2 comments
Open

If there is a space in front of the data, it will be truncated #43

AlanFgg opened this issue May 18, 2023 · 2 comments

Comments

@AlanFgg
Copy link

AlanFgg commented May 18, 2023

for examole:
data: exp
the space in front of exp will be subArray.

const valueOffset = fieldLength + (line[fieldLength + 1] === 32 ? 1 : 1);

it should be:
const valueOffset = fieldLength + 1;

@DeshengLii
Copy link

我也遇到这个问题,在使用chatgpt功能的时候

@echofly
Copy link

echofly commented Jul 19, 2023

@echofly/fetch-event-source,用这个包,修复了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants