Esp32 error 400 upload spiffs wav file to web server using http post

i was recording 5 seconds 160884bytes, the file created on the server have only 32812bytes, some of the data saved are correct.
first lines of the file uploaded>

RIFF$q WAVEfmt      €>   }ÿ  data q   ÿ                  û ý þ þ þ þ ý ý  þ þ þ ý ý ÿ ÿ         þ þ ý ý   ú ü ü û û û û   ü ü ü ü ü ú ú  ù ú ú ø ø ó ó  ñ ÷ ÷ ÷ ÷ ù ù 	 þ ü ü ü ü ÿ ÿ  ý ù ù õ õ ö ö 
 ü ú ú ÷ ÷ ý ý  ÿ ý ý ü ü ü ü   û ù ù ô ô ö ö  û ø ø ÷ ÷ ú ú  ø ÷ ÷ ù ù ø ø þ ô ö ö ø ø ù ù ý ù ÷ ÷ ø ø ù ù ù ø ù ù ù ù ÷ ÷ ÷ õ ö ö ó ó ÷ ÷ õ ÷ ô ô õ õ ö ö õ ÷ ÷ ÷ ö ö ú ú ô þ     ý ý ü ü ñ û û û       í        í 

the content length is calculated with the total body and send it as addheader