Ah ok, now I get it. The feedburner bot propably just requests the head method to validate if the page exists. I will add the head methods as you described.
Thank you! Magnus On Jan 22, 3:46 pm, "Nick Johnson (Google)" <[email protected]> wrote: > Hi, > > On Fri, Jan 22, 2010 at 2:42 PM, Magnus O. < > > [email protected]> wrote: > > Hi Nick, > > > From the logs it seems like the path is "/" (the root of my domain) > > and in the handler for that path I have: > > > def main(): > > application = webapp.WSGIApplication([('/.*', > > MainController)],debug=True) > > wsgiref.handlers.CGIHandler().run(application) > > This isn't the handler - it's the code that invokes the handler. The handler > is 'MainController', and if it doesn't define a 'head()' method, any HTTP > HEAD requests will fail for it. > > -Nick Johnson > > > > > > > > > So I guess anything I throw at this handler should be ok? How can > > someone get a 405? > > > Magnus > > > On Jan 22, 2:38 pm, "Nick Johnson (Google)" <[email protected]> > > wrote: > > > Hi Magnus, > > > > 405 is "Method not allowed". It generally occurs when you are using a > > > framework such as webapp that requires you to define each method you want > > to > > > be supported, and a client attempts to request a page with an unsupported > > > method. > > > > A quick and easy way to eliminate this issue for your app is to add this > > to > > > your base handler: > > > > --- > > > def head(self, *args, **kwargs): > > > self.get(*args, **kwargs) > > > self.response.clear() > > > --- > > > > -Nick Johnson > > > > On Fri, Jan 22, 2010 at 1:31 PM, Magnus O. < > > > > [email protected]> wrote: > > > > Hi, > > > > > On the dashboard for my application I see that I have several errors > > > > on the path "/". When I click on the link I can see the following in > > > > the log: > > > > > 01-22 12:46AM 25.130 / 405 10ms 9cpu_ms 0kb FeedBurner/1.0 (http:// > > > >www.FeedBurner.com),gzip(gfe),gzip(gfe) > > > > 74.125.44.136 - - [22/Jan/2010:00:46:25 -0800] "HEAD / HTTP/1.1" 405 > > > > 124 - "FeedBurner/1.0 (http://www.FeedBurner.com),gzip(gfe),gzip(gfe)" > > > > > What exactly does this mean, I can see that I get a 405 response but > > > > why? This is not logged as an error, it's loggen under "requests > > > > only". > > > > > Any ideas? > > > > > Magnus > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Google App Engine" group. > > > > To post to this group, send email to [email protected] > > . > > > > To unsubscribe from this group, send email to > > > > [email protected]<google-appengine%2Bunsubscrib > > > > [email protected]><google-appengine%2Bunsubscrib > > [email protected]> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-appengine?hl=en. > > > > -- > > > Nick Johnson, Developer Programs Engineer, App Engine > > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > > Number: > > > 368047 > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine%2Bunsubscrib > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- > Nick Johnson, Developer Programs Engineer, App Engine > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: > 368047 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
