summaryrefslogtreecommitdiff
path: root/classes/tinderclient.bbclass
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-08-02 18:14:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 18:14:08 +0000
commitd622f936a352181dc9ab0cb4a1e2768b5879e60a (patch)
tree6ff0515d4e14184236dd7aa47c7be3d51b12fcc6 /classes/tinderclient.bbclass
parent21a91a78407c9e8e8fe4c7931deec8dcd289319d (diff)
parent40f3e1b35db575ce80d1867e1fcb970b91e2a2aa (diff)
merge of 2653a4b40327fa4b9850b64660c0b840a53b9e4d
and 7d7a212e875a69547a4ab175f18225661a30c5ce
Diffstat (limited to 'classes/tinderclient.bbclass')
-rw-r--r--classes/tinderclient.bbclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index 3c88b2ac63..168b7dec4e 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -1,5 +1,5 @@
def tinder_tz_offset(off):
- # get the offset. Either it is a number like
+ # get the offset.n minutes Either it is a number like
# +200 or -300
try:
return int(off)
@@ -42,9 +42,16 @@ def tinder_send_http(da, header, log):
import httplib, urllib
cont = "\n%s\n%s" % ( header, log)
headers = {"Content-type": "multipart/form-data" }
+ print cont
conn = httplib.HTTPConnection(data.getVar('TINDER_HOST',da, True))
conn.request("POST", data.getVar('TINDER_URL',da,True), cont, headers)
+
+ resp = conn.getresponse()
+ print resp.status, resp.reason
+ data = resp.read()
+ print data
+
conn.close()