title: What is producing "405 Method Not Allowed" in this python code (google app engine)?
body: <p>I'm a python newbie and I'm trying to build an app copying step by step what was taught earlier in my class, but I'm getting the "405 Method Not Allowed" error.</p>
  
  <p>Here what the professor did:
  <img src="https://i.stack.imgur.com/iOBwO.png" alt="enter image description here"></p>
  
  <p>Here what I did:</p>
  
  <p><img src="https://i.stack.imgur.com/rDIqC.png" alt="enter image description here"></p>
  
  <p>Could someone point me what in the code below is the cause of this error "405 Method Not Allowed"? I can not see difference between what I did and what the professor taught.
  The indentation is also ok (here is the main.py file <a href="https://docs.google.com/open?id=0B8TXLR_e14aCVDFfdlpYSU9DNDg" rel="nofollow noreferrer">https://docs.google.com/open?id=0B8TXLR_e14aCVDFfdlpYSU9DNDg</a>). </p>
  
  <p>Thanks in advance for any help!</p>
  
  <p>Here my code:</p>
  
  <pre><code>form= """
    &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Unit 2 Rot 13&lt;/title&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
      &lt;h2&gt;Enter some text to ROT13:&lt;/h2&gt;
      &lt;form method="post" action="/rot13"&gt;
        &lt;textarea name="text"
                  style="height: 100px; width: 400px;"&gt;&lt;/textarea&gt;
        &lt;br&gt;
        &lt;input type="submit"&gt;
      &lt;/form&gt;
    &lt;/body&gt;
  
    &lt;/html&gt; """
  
  class MainHandler(webapp2.RequestHandler):
      def get(self):
          self.response.out.write(form)
  
  class Rot13Handler(webapp2.RequestHandler):
      def post(self):
          text = self.request.get("text")
          self.response.out.write(text)
  
  app = webapp2.WSGIApplication([('/', MainHandler), ('/rot13', Rot13Handler)],
                            debug=True)
  </code></pre>