Make the survey point to the new location on appspot
This commit is contained in:
parent
600ad5caf4
commit
c637890795
@ -1,5 +1,5 @@
|
||||
application: feedback-ltworf
|
||||
version: 1
|
||||
version: 2
|
||||
runtime: python27
|
||||
api_version: 1
|
||||
threadsafe: true
|
||||
|
@ -34,8 +34,13 @@ def send_survey(data):
|
||||
#sends the string
|
||||
params = urllib.urlencode({'survey':post})
|
||||
headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain"}
|
||||
connection = httplib.HTTPConnection('galileo.dmi.unict.it')
|
||||
connection.request("POST","/~ltworf/survey.php",params,headers)
|
||||
#connection = httplib.HTTPConnection('galileo.dmi.unict.it')
|
||||
#connection.request("POST","/~ltworf/survey.php",params,headers)
|
||||
|
||||
connection = httplib.HTTPConnection('feedback-ltworf.appspot.com')
|
||||
connection.request("POST","/feedback/relational",params,headers)
|
||||
|
||||
|
||||
return connection.getresponse()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user