Erreur HTTP / 1.0 405 Méthode non autorisée

Je veux faire un Htttp Connexion Voici mon code

try
{
HttpClient client = new DefaultHttpClient();
HttpPost httpMethod = new HttpPost("http://www.google.co.in/");
String requestBody = "some text";
HttpMethod.setEntity(new StringEntity(requestBody));
HttpResponse response = client.execute(httpMethod);
textView.setText(response.getStatusLine().toString());
}

Mais je suis incapable d'avoir une "HTTP/1.0 405 method not Allowed" erreur
Je vous en seront reconnaissants de votre aide

source d'informationauteur Rozy