Why is my HTTP client sending unwanted “application/x-www-form-urlencoded” content type headers?
When you do a simple GET with the Restlet HTTP client connector based on JDK’s HttpURLConnection, an extra “content-type” header can be sent to the server, even though your call doesn’t provide any input content (because you just GET a representation). This is due to a bug in JDK 5.0 that was fixed in update 10 and in JDK 6.0 as indicated in the bug report.