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)
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()