HTTP POST mutli part “BAD REQUEST”
问题 I'm trying to upload a file using POST here's my request : POST /upload.php HTTP/1.1 Host: localhost Content-Type: multipart/form-data; boundary=---------------------------552335022525 Content-Length: 192 -----------------------------552335022525 Content-Disposition: form-data; name="userfile"; filename="12.txt" Content-Type: text/plain blabla -----------------------------552335022525-- Using HTTP live headers firefox plugin everything works but when putting it a char *buffer and send it with