-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Milestone
Description
Is your feature request related to a problem?
I'm uploading a large file, cpr::Multipart and cpr::File(use file path) work fine.
But if I want to upload a file with a Chinese name under the English windows system,will fail to upload.
I guess it's the character encoding that prevents curl from opening the file properly.
I've tried re-encoding the characters without success.
So I try to use cpr::ReadCallback to upload the file, but it fails because the content-type is application/x-www-form-urlencoded.
I want to use cpr::Multipart with file stream.
Is there any other way I can solve this problem?
thank you.
Possible Solution
I see that curl is supported but cpr is not yet.
I hope that cpr will support it as soon as possible.
Alternatives
No response
Additional Context
No response