From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QWXel-0006p4-M1 for garchives@archives.gentoo.org; Tue, 14 Jun 2011 17:44:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8945D1C179; Tue, 14 Jun 2011 17:43:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 54BDC1C179 for ; Tue, 14 Jun 2011 17:43:55 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A0181BC007 for ; Tue, 14 Jun 2011 17:43:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D191D8003F for ; Tue, 14 Jun 2011 17:43:53 +0000 (UTC) From: "Vikraman Choudhury" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vikraman Choudhury" Message-ID: Subject: [gentoo-commits] proj/gentoostats:master commit in: client/ X-VCS-Repository: proj/gentoostats X-VCS-Files: client/send.py X-VCS-Directories: client/ X-VCS-Committer: vikraman X-VCS-Committer-Name: Vikraman Choudhury X-VCS-Revision: dc3c5ba810a7fc3c3551ec5201a8d73188c14ac5 Date: Tue, 14 Jun 2011 17:43:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ed43d9eb7b4108314e3e8c32de9e8ea5 commit: dc3c5ba810a7fc3c3551ec5201a8d73188c14ac5 Author: Vikraman Choudhury gmail com> AuthorDate: Tue Jun 14 17:42:05 2011 +0000 Commit: Vikraman Choudhury gmail com> CommitDate: Tue Jun 14 17:42:05 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoostats.g= it;a=3Dcommit;h=3Ddc3c5ba8 fix client url --- client/send.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/send.py b/client/send.py index 8bf2bd2..1420a7d 100755 --- a/client/send.py +++ b/client/send.py @@ -30,7 +30,7 @@ def main(): post_headers =3D {"Content-type": "application/json"} myuuid =3D getAuthInfo()['UUID'] conn =3D httplib.HTTPConnection("127.0.0.1:8080") - conn.request('POST', '/' + myuuid, headers=3Dpost_headers, body=3Dpost= _body) + conn.request('POST', '/host/' + myuuid, headers=3Dpost_headers, body=3D= post_body) #TODO: Handle exceptions response =3D conn.getresponse() print response.status, response.reason