Hi James,

The URL is the same - only the HTTP method changes. All you have to do is
add the code I included and things should work fine.

-Nick Johnson

On Tue, Feb 2, 2010 at 2:24 PM, James <[email protected]> wrote:

> Thanks nick,
>
> How do i config the url to access the def head() ?
>
> best
> james
>
>
>
> ------------------------------
> *From:* Nick Johnson (Google) <[email protected]>
> *To:* [email protected]
> *Sent:* Tue, 2 February, 2010 6:37:58 PM
> *Subject:* Re: [google-appengine] my links are invalid on Digg
>
> Hi James,
>
> Digg checks links by doing HTTP HEAD requests to them. If your handler
> doesn't support HEAD, digg will return an error. Try adding this to your
> handler class:
>
> --
>   def head(self, *args, **kwargs):
>     self.get(*args, **kwargs)
>     self.response.clear()
> --
>
> On Tue, Feb 2, 2010 at 4:49 AM, james_027 <[email protected]> wrote:
>
>> Hi all,
>>
>> Sorry if this post doesn't seems to be appropriate, but I can't submit
>> links to digg, with this error message by digg "This link does not
>> appear to be a working link. Please check the URL and try again." A
>> sample link from my GAE site is this
>>
>>
>> http://jamesgae.appspot.com/blog/2010/01/28/blogs-on-the-cloud-creating-your-own-customize-blog
>>
>> Any ideas?
>>
>> Thanks
>>
>> --
>> 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%[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%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
> ------------------------------
> Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and
> for free at PLUS7. Check it 
> out<http://au.rd.yahoo.com/tv/catchup/tagline/*http://au.tv.yahoo.com/plus7/?cmp=mailtag>
> .
>
> --
> 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%[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.

Reply via email to