It's in request.response_ext you can set
config.disable_request_extensions=True if you totally want to prevent TG
from striping extensions from requests


On Thu, Feb 20, 2014 at 9:16 PM, kgk <[email protected]> wrote:

>
> 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.
>

-- 
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.

Reply via email to