Hi,
I've got a pylons api endpoint that looks like
https://my-site/v1/controller/id
I'd like to be able to allow id to be strings that contain periods
(video.24 for example). However, this ends up getting resolved to id =
video, format = 24 based on the routes generated generated in the
resource() function in mapper.py. Is there a clean way around this? If I
comment out
self.connect("formatted_" + name_prefix + member_name,
member_path + ".:(format)", **route_options)
it works the way I want it to (obviously I lose the ability to specify
formatting in the url).
Cat
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.