yes, that is right...to see that I had to select severity "debug"...

no errors are thrown... just an empty json/xml

http://w2papp2.appspot.com/rest/default/restaurants<http://w2papp2.appspot.com/rest/default/restaurants.json>
 (works)
http://w2papp2.appspot.com/rest/default/restaurants.json (doen't)
http://w2papp2.appspot.com/rest/default/restaurants.<http://w2papp2.appspot.com/rest/default/restaurants.json>
xml (doen't)


On Sun, Feb 27, 2011 at 6:07 PM, Jonathan Lundell <jlund...@pobox.com>wrote:

> On Feb 27, 2011, at 9:58 AM, Sebastian E. Ovide wrote:
>
> Hi,
>
> I have a simple action:
>
> def restaurants():
>     restaurants=db().select(db.restaurant.ALL)
>     return dict(restaurants=restaurants)
>
> on my machine I can get myapp/default/restaurants.json or .xml.... but it
> doesn't work on GAE !...
>
> in GAE myapp/default/restaurants work but if I append .json or .xml I would
> get an empty json/xml...
>
> on GAE I see
>
> *D2011-02-27 09:50:20.163 routes_out: [/rest/default/restaurants.json] not
> rewritten*
> *
> *
> *
> *
> *any ideas ?*
>
>
>
> The message is routine, fwiw, assuming that you're not expecting that path
> to be rewritten. It's debug-level logging, but IIRC GAE logs everything.
>



-- 
Sebastian E. Ovide

Reply via email to