I am trying to POST a request using HttpURLConnection and am using a packet sniffer to look at the actual HTTP request being sent to the server.
Just where the content is supposed to begin (after content-length line), I see a 70-char 'junk'. Can someone please help me understand the 70-char 'junk' that apparently HttpURLConnection is writing into the HTTP request between the HTTP message header and the content.
POST
http://java.sun.com/cgi-bin/backwards HTTP/1.1
User-Agent: Java/1.4.1_01
Host: java.sun.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Proxy-Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 20
`W?� J J ^
G�m� E <M�@ ���
�)����h�p�P��x�P�q�� string=NikhilKumar