-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Multipart uploading - wrong content length #939
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
Comments
Hi Alex, I have the same issue. Have you solved it or worked arround it? Best regards, |
I had this same issue and resolved it by using request.Files.Add() method instead of AddFile() like so:
|
You can use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to get multipart uploading working with v105.2.3, but it seems there is something wrong with the Content-Length.
The response2 has this Error Message (it's in german and means Request was cancelled.):
Die Anfrage wurde abgebrochen: Die Anfrage wurde abgebrochen..
Inner Exception (Cannot close the stream until all bytes are written):
Stream kann nicht geschlossen werden, bevor alle Bytes geschrieben wurden.
In Fiddler I get this:
Request - Entity
Response
I need to use the Nuget package with this versions since I have other packages (like RestSharp.Newtonsoft.Json) that require this version.
Seems like the same problem here:
#742
Best regards,
Alex
The text was updated successfully, but these errors were encountered: