Sure it is not mentioned in a web2pyslice? Or perhaps you are not running 
behind a proxy and web2py things bing is_local?

On Thursday, 20 September 2012 15:52:40 UTC-5, rochacbruno wrote:
>
>
> I am wondering how bingbot knows about a variable I defined in my 
> controller?
>
> controllers/article.py
>
> def show()
>     article = db.article[request.args(1)]
>     ...
>     ...
>     response.meta.canonical_url = URL('article', 'show', args=[article.id, 
> article.slug])
>     return dict(article=article)
>
>
>
> 157.55.33.125 - - [20/Sep/2012:16:43:51 -0300] "GET /article/show/122/*
> response.meta.canonical_url* HTTP/1.1" 303 72 "-" "Mozilla/5.0 
> (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
>
> I never used response.toolbar on the server because on my layout I have 
> {{if request.is_local:}} {{=response.toolbar}} {{pass}} and 
> generic_patterns allows only json and rss.
>
>
> The site: www.menuvegano.com.br
>
>
> *Bruno Cezar Rocha** - @rochacbruno*
> [email protected] <javascript:> | Mobile: +55 (11) 99210-8821
> www.CursoDePython.com.br | www.rochacbruno.com.br
> Blog: Search form with 
> web2py<http://rochacbruno.com.br/search-form-with-web2py/>
>   Get a signature like this. 
> <http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18>
>  Click 
> here.<http://r1.wisestamp.com/r/landing?promo=18&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_18>
>    
>
>  

-- 



Reply via email to