title: Running the same code for get(self) as post(self)
body: <p>Its been mentioned in other answers about getting the same code running for both the <code>def get(self)</code> and the <code>def post(self)</code> for any given request. I was wondering what techniques people use, I was thinking of:</p>
  
  <pre><code>class ListSubs(webapp.RequestHandler):
      def get(self):
          self._run()
  
      def post(self):
          self._run()
  
      def _run(self):
          self.response.out.write("This works nicely!")
  </code></pre>