Ticket #5229 (new enhancement)
Support for alternate URL argument formatting
| Reported by: | guest | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | General | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: | mbowie@… |
Description
Currently, the content object passed to xhr[Get|Post] is formatted using ?'s, &'s and ='s, which is generally groovy.
However, in the case of a site which implements MVC style URL's, this isn't very friendly.
Rather than "?param1=value1¶m2=value2", it would be useful to be able to have /'s used for each separator, ala "/param1/value1/param2/value2".
My particular case revolves around the use of dojox.data.QueryReadStore, but I think that providing the solution at that level is really only a short-term solution.
I'm surprised this hasn't come up before... but I guess the fact that it hasn't may mean I'm a genuine minority. I do realize that this functionality can be implemented by simply eliminating the content argument and generating the full URL by hand, but I can't help but feel that that is a hackish solution.