Closed pavlov-dmitry closed 10 years ago
Oh, this is embarrassing... Looks like I'm the one to blame. I don't know how I could forget about other data than text. Anyway, you are right. It's impossible to upload binary data with the current code.
I wonder why Travis hasn't tested this pull request... It looks fine, but I will check again when I get home, unless anyone else does it first.
It looks good. Thank you!
Trying to do to upload images from the client to the server.
this is my html code:
On uploading images 400 Bad Request always happend, because src/http/server/request.rs line 381 String::from_utf8(body)
I think request body must be Vec< u8 >. What you think about this?
P.S.: sorry for my bad english.