On 28 Aug 2007, at 14:45, Adi wrote:

>
> Hi TGfolks,
>
> I'm running into a small problem here : I need to interface with a
> bank online payment server that sends a POST request with arguments
> containing hyphens (like 'my-arg'). Apparently the querystring cannot
> be parsed because of those hyphens, I guess it's related to cherrypy
> filters or something...
>
> Has anyone already dealt with this?
>
> Any ready-made workaround or any suggestion would be of great help....
>

You can't map 'my-arg' to a parameter in the controller method  
directly, but
you could try defining the controller method as foo(self, **kwargs) then
look in kwargs dict for your 'my-arg' key.

Cheers,
Chris Miles


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