Assuming you're using webapp, you need to define a head(self) method in your RequestHandler class. Note that you MUST NOT include a message-body, which means that you shouldn't send anything with self.response.out.write(); you only want the response to contain headers.
On Aug 8, 1:06 am, Suke Lin <[email protected]> wrote: > I'm using Python. I don't how to handle incoming head requests.It's > different from handling get/post requests? > > On Jun 30, 8:17 am, "Jeff S (Google)" <[email protected]> wrote: > > > Hi Suke Lin, > > > What does the code look like for your servlet or request handler? You will > > need to define your own code to handle incoming head requests (I'm not sure > > if you are using Java or Python). > > > Thank you, > > > Jeff > > > On Sat, Jun 27, 2009 at 3:21 AM, Suke Lin <[email protected]> wrote: > > > > every time when I using a HEAD request, I got a HTTP 500 error. (using > > > GET request is OK) > > > > I debug in development environment, there is a WARNING saying: > > > dropping unexpected body in response to head request. > > > > can you tell me what's the problem ? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
