Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 818591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:10:34+00:00 2026-05-15T02:10:34+00:00

I can use this verb in the Python Windows SDK. But not in production.

  • 0

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)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:10:35+00:00Added an answer on May 15, 2026 at 2:10 am

    Your handler looks OK, are you sure you’re sending the request correctly? Using jQuery, this works for me (both using dev_appserver and google app engine production):

    $('#delete-button').click(function() {
        $.ajax({
            'type': 'DELETE',
            'url': '/some/url/that/handles/delete'
        })
    });
    
    class DeleteHandler(webapp.RequestHandler):
    
        def delete(self):
            if users.get_current_user() == allowed_user:
                the_data_model.delete()
            else:
                self.response.out.write('Permission denied')
    

    Sending a response body/message did not work for me (e.g. the “permission denied” message in my example won’t get to the client). Have you verified your items aren’t deleted?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't know if I can use regex for this, but I want to
I can use this just fine in a window $('#dropDownSpan').css('visibility', 'visible'); but how can
In python I can use this to check if the element in list a
I can use this command mysqldump -uroot myDB| gzip > mydb_`date +%d-%m-%Y`.sql.gz but when
i can use this code to remove click event, $('p').unbind('click') but , has some
I can use this maven plugin maven-jaxb-plugin to generate Java Classes from XSD file.
Right now I can use this URL to request a Google Static Maps image
I know I can use this way to find the most frequent element in
Simple. If I use: public void Add(params int[] values) Then I can use this
I am wondering whether I can use the this keyword inside a C# lambda,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.