Perhaps restful should take an argument to prevent that. By default is essumes restful requests terminate in .extension
On Monday, December 3, 2012 5:24:00 PM UTC-6, howesc wrote: > > Hi all, > > i'm trying to parse some data with a restful request that has arguments. > my GET looks something like this: > > > http://127.0.0.1:8080/api_v7/test/subscription/com.company.product.IWantYouTheJaSou0001 > > my controller is api_v7, my method is test, then there are 2 args the last > of which has dots in it. > > when i run this decorated with @request.restful, the args are not quite as > i expect, here is a JSON string of args and raw_args: > > {"raw_args": "subscription/com.company.product.IWantYouTheJaSou0001", "args": > ["subscription", "com.company.product"]} > > > looking at the source for restful i see that the last arg is split on dot "." > and the bit at the end is assumed to be the extension. this breaks changes > the last arg and breaks my use case. is this considered a bug or a feature? > if a bug i'm happy to suggest a patch, if a feature i'll just use raw_args. > > > thanks, > > > christian > > --

