I understand that HttpClient automatically includes the Content-Length request header when passing a StringEntity. But I would like to set the position of the header. But when I include the request header myself I get the following exception
"org.apache.http.ProtocolException: Content-Length header already present" Is there anyway to bypass the auto inclusion of the Content-Length header?