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

request lost content-length header and so on when post formData lead to server error #2065

Closed
AisonSu opened this issue Apr 12, 2023 · 0 comments · Fixed by #2066
Closed
Assignees
Labels
bug Something isn't working

Comments

@AisonSu
Copy link

AisonSu commented Apr 12, 2023

Bug Description

when i use request to post formdata, server report error 412,but use fetch with same config it will work normally

Reproducible By

Use request and fetch post formdata to same address

Expected Behavior

request should entirely have same headers which fetch have i think

Logs & Screenshots

微信截图_20230413054836微信截图_20230413054924

Environment

Win11 22621.1413
Node v18.12.1

Additional context

short of content-length and so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants