well RestControllers are really different from the TGControllers

Finally I hooked in _setup_wsgiorg_routing_args of RestController

in lib.base:

class BaseRestController(RestController):

    def _setup_wsgiorg_routing_args(self, url_path, remainder,
params):
        pylons.response.headers['Access-Control-Allow-Origin'] = "*"
        RestController._setup_wsgiorg_routing_args(self, url_path,
remainder, params)

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to