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

  • Home
  • SEARCH
  • 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 6162563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:40:32+00:00 2026-05-23T21:40:32+00:00

So I was reading the documentation for the RequestHandler class in python, and I

  • 0

So I was reading the documentation for the RequestHandler class in python, and I noticed that it supports several more methods other than the two that I’m used to, namely GET and POST.

Is it possible to add custom methods to the RequestHandler class or my class that implements RequestHandler to extend those methods even further?

For example, this would be a typical implementation of a webapp:

class MainPage (webapp.RequestHandler):
    def get(self):
        #do things
        self.response.out.write("This was get")

Could I also add a method like this?

    def SaveAttribute(self):
        #do more things
        self.response.out.write("Attribute saved")

I ask specifically so I can easily set up a jquery-ajax heavy app engine webapp, and if I could use custom methods like that with the “type” parameter in the .ajax() call it would make my life considerably easier than just handling everything through POST.

If this is not possible then is there a fairly straightforward way to do what I need to do?

  • 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-23T21:40:33+00:00Added an answer on May 23, 2026 at 9:40 pm

    You might want to take a look at ProtoRPC … it’s not exactly what you’re asking, but achieves the same kind of end-result.

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

Sidebar

Related Questions

I have been reading documentation describing class inheritance, abstract base classes and even python
I'm new to HTML. When I started reading documentation about lists, I've noticed that
Reading the documentation it seems this might not be possible, but it seems that
I know from reading Microsoft documentation that the "primary" use of the IDisposable interface
Reading Kohana's documentation, I found out that the main difference in 3.0 version is
Reading the documentation for imagegd2() , and imagegd() , I noticed the functions are
After reading the documentation for MySQL Workbench I got the impression that it's possible
After a bit of searching and reading the documentation, it's clear that you can
I have been reading documentation about the new features that IIS 7.5 offers regarding
I'm reading documentation for CFITSIO (C library for working with FITS images and other

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.