Arduino web server POST form

I’m creating a web server using Arduino and I want to send some data with form using POST. The problem is that I’m getting in a response only garbage but not data.

My form:

client.println("  <form action=\"/\" method=\"POST\">   <input id=\"email\" type=\"text\" class=\"form-control\" name=\"email\" placeholder=\"E-mail\">     <input id=\"password\" type=\"password\" class=\"form-control\" name=\"password\" placeholder=\"Password\">     <input type=\"submit\" class=\"btn btn-info center-block\" value=\"Log In\">   </form>");

And POST response:

POST / HTTP/1.1
Host: 192.168.0.100:8084
Connection: keep-alive
Content-Length: 16
Cache-Control: max-age=0
Origin: http://192.168.0.100:8084
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: http://192.168.0.100:8084/
Accept-Encoding: gzip, deflate
Accept-Language: pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7

As you can see there is no filed in the POST response called email or password but with longer email or password entered, the Content-Length increases.

Problem solved. I was not reading the entire message.