Hey guys, I'm new to seaweedfs and I'm stuck to this problem.
I want to HTTP post a file that I retrieve from an HTML form with enctype multipart form data. Upon submitting the form, the response was Error 400 "multipart: NextPart: EOF" .
My seaweedfs master and volume container is just locally hosted.
Using curl just works, retrieving the multipart file from the form value returns a valid image, and the content type is valid as well as its boundary.
I don't know where the error occurred or why but I suspect it is somewhere here:
...
resp, err := http.Post(publicAddr, contentType, mf)
...