I am trying to send a POST request from browser to my server(local host). My request URL is :
POST
http://localhost:8080/myPath/myServlet?requestData={
I fixed this by passing an additional header
connection: close, along with the request.
Could you please try and let me know if this works for you.