From: "Vikraman Choudhury" <vikraman.choudhury@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoostats:master commit in: client/
Date: Thu, 30 Jun 2011 10:28:07 +0000 (UTC) [thread overview]
Message-ID: <1ffb2e836bca869b5d7c3dc1d5642842ad9a3a3c.vikraman@gentoo> (raw)
commit: 1ffb2e836bca869b5d7c3dc1d5642842ad9a3a3c
Author: Vikraman Choudhury <vikraman.choudhury <AT> gmail <DOT> com>
AuthorDate: Thu Jun 30 10:25:33 2011 +0000
Commit: Vikraman Choudhury <vikraman.choudhury <AT> gmail <DOT> com>
CommitDate: Thu Jun 30 10:25:33 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoostats.git;a=commit;h=1ffb2e83
use https instead of http
---
client/gentoostats-send | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/gentoostats-send b/client/gentoostats-send
index ecc0be8..73d53a2 100755
--- a/client/gentoostats-send
+++ b/client/gentoostats-send
@@ -34,7 +34,7 @@ def serialize(object, human=False):
def main():
parser = argparse.ArgumentParser(description='Gentoostats client')
parser.add_argument('-s', '--server', default='soc.dev.gentoo.org')
- parser.add_argument('-p', '--port', type = int, default=80)
+ parser.add_argument('-p', '--port', type = int, default=443)
parser.add_argument('-u', '--url', default='/gentoostats')
parser.add_argument('-a', '--auth', default='/etc/gentoostats/auth.cfg')
parser.add_argument('-c', '--config', default='/etc/gentoostats/payload.cfg')
@@ -54,7 +54,7 @@ def main():
post_body = serialize(post_data,human=True)
post_headers = {'Content-type':'application/json'}
- conn = httplib.HTTPConnection(args['server'] + ':' + str(args['port']))
+ conn = httplib.HTTPSConnection(args['server'] + ':' + str(args['port']))
conn.request('POST', url=post_url, headers=post_headers, body=post_body)
#TODO: Handle exceptions
next reply other threads:[~2011-06-30 10:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 10:28 Vikraman Choudhury [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-08-25 14:49 [gentoo-commits] proj/gentoostats:master commit in: client/ Vikraman Choudhury
2011-08-21 14:42 Vikraman Choudhury
2011-08-20 19:26 Vikraman Choudhury
2011-07-15 16:27 Vikraman Choudhury
2011-06-19 18:11 Vikraman Choudhury
2011-06-14 17:43 Vikraman Choudhury
2011-06-07 19:07 Vikraman Choudhury
2011-05-06 12:45 Vikraman Choudhury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1ffb2e836bca869b5d7c3dc1d5642842ad9a3a3c.vikraman@gentoo \
--to=vikraman.choudhury@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox