New Terms

64 views
Skip to first unread message

Max

unread,
Dec 15, 2012, 6:37:50 AM12/15/12
to google-a...@googlegroups.com
Hi,
I'm running on my pc a Python application and I'm storing the results on appengine Datastore to be used in my website.

The local code is:

def invia(utente, numero, tweet, link1, risorsa):
        params = urllib.urlencode({'utente': utente, 'numero': numero, 'tweet': tweet, 'link1': link1, 'risorsa': risorsa})
        headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain"}
        conn = httplib.HTTPConnection("myapp.appspot.com")
        conn.request("POST", "", params, headers)
        response = conn.getresponse()
        print response.status, response.reason

It was working well, now I have accepted the new terms and the app is not working anymore and it's getting a 405 Error. How can I solve this? Is it really linked to new terms?

2012-12-15 03:29:58.770 / 405 49ms 0kb
000.000.00.000 - - [15/Dec/2012:03:29:58 -0800] "POST / HTTP/1.1" 405 124 - - ".....appspot.com" ms=50 cpu_ms=0 cpm_usd=0.000014 instance=......

Reply all
Reply to author
Forward
0 new messages