-
Notifications
You must be signed in to change notification settings - Fork 93
HTTPS/TLS support #98
Comments
Multipart is done exclusively with the |
Okay, I've run your test and gotten the error but there's something I don't understand. The only occurrence of that error string is |
Ah, I see, it also occurs in the |
I stepped through this with a debugger and it doesn't seem to be Multipart's fault. The error occurs when trying to write to the network stream, after |
Thank you very much for your support. |
I know it's not an issue directly connected to multipart, but it's chain's closing ring...
I need to send a multipart/form-data submit to an https address, I searched for a working example without luck, so I tried to merge different examples from hyper_native_tls and multipart.
I haven't beed able to find a method to specify a call method (GET, POST, PUT, ecc...).
You can find my code here: https://github.com/nappa85/Rustegram/blob/master/client_lib/src/lib.rs
The test is everything you need to make it work, or fail, because it fails with
thread 'tests::it_works' panicked at 'Error sending multipart request: Io(Error { repr: Custom(Custom { kind: WriteZero, error: StringError("failed to write whole buffer") }) })', src/libcore/result.rs:906:4
Maybe my code could be helpful to create a working example about multipart over HTTPS
The text was updated successfully, but these errors were encountered: