Skip to main content
removed deprecated tag [delete] as part of a slow burnination
Link
added python tag
Link
mechanical_meat
  • 170.4k
  • 25
  • 237
  • 231
added 518 characters in body; deleted 97 characters in body; deleted 97 characters in body
Source Link
Jader Dias
  • 91.1k
  • 160
  • 436
  • 635

I can use this verb in the Python Windows SDK. But not in production. Why? What am I doing wrong?

The error message includes (only seen via firebug or fiddler)

Malformed request

or something like that

My code looks like:

from google.appengine.ext import db from google.appengine.ext import webapp class Handler(webapp.RequestHandler): def delete(self): key = self.request.get('key') item = db.get(key) item.delete() self.response.out.write(key) 

I can use this verb in the Python Windows SDK. But not in production. Why? What am I doing wrong?

The error message includes (only seen via firebug or fiddler)

Malformed request

or something like that

I can use this verb in the Python Windows SDK. But not in production. Why? What am I doing wrong?

The error message includes (only seen via firebug or fiddler)

Malformed request

or something like that

My code looks like:

from google.appengine.ext import db from google.appengine.ext import webapp class Handler(webapp.RequestHandler): def delete(self): key = self.request.get('key') item = db.get(key) item.delete() self.response.out.write(key) 
Source Link
Jader Dias
  • 91.1k
  • 160
  • 436
  • 635
Loading