On my root controller I use a _lookup to determine a sub-controller from a
set
of loaded controllers.. The shortend code reads something like this:
class RootController(BaseController):
@expose()
def _lookup(self, service_type, *rest):
log.debug ('URL %s' % (request.url ))
log.debug ("lookup for %s/%s" % (service_type,str (rest) ))
service = service_registry.lookup (service_type)
return service
I make a request for /blob_service/store/local/kgk11/4/shrub.JPG
In the log, I see
2014-02-20 12:04:59,152 DEBUG [bq.root]
https://loup.ece.ucsb.edu/blob_service/store/local/kgk11/4/shrub.JPG
2014-02-20 12:04:59,153 DEBUG [bq.root] lookup for blob_service/('store',
'local', 'kgk11', '4', 'shrub')
Why did my .JPG disappear from request for shrub? I need it.
Thanks
Kris
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.