MethodDispatcher and overloading
Aaron Dalton <[email protected]>
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
So I'm using MethodDispatcher but I need to handle two different forms of a specific GET request (with different parameter sets). I did two different GET functions with different signatures, but that didn't work. So then I removed all arguments and tried to use "fields.get()", but the request fails because it can't find a GET with a matching signature. What's the right way to do overloading with MethodDispatcher? -- You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected] Visit this group at https://groups.google.com/group/cherrypy-users. For more options, visit https://groups.google.com/d/optout.