these should be under controller name "static", so I don't expect what Massimo describes will conflict. But this brings up another intersting glitch we've had - static files that refer in their own links to a directory making the long-standing assumption that any server will "look for" index.html in the directory if no file is specified. Microsoft's IIS servers do more: they setup a "path" of default files, and allow you to add and re-order that list, e.g. "default.asp; default.html; index.html" --- which is nice, because it is general.
For example, when trying to "implement" sqldesigner, it's help files could not be used in web2py because of this lack of "looking for static files, if path turned out to be just a directory". While, from a code perspective, this is a separate issue - from a logical perspective, it is a related feature - doing something historically normal with paths. On Thu, May 21, 2009 at 11:42 AM, JohnMc <maruadventu...@gmail.com> wrote: > > Any conflict with static files that might be called from within a view > of the same name. (html specifically.) > > On May 21, 10:48 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > I am talking a small change to the current web2py (10 lines) and I can > > do it tonight if no objection. It would help users build more restful > > apps although it does not have to be stateless. > > > > Massimo > > > > On May 21, 10:37 am, DenesL <denes1...@yahoo.ca> wrote: > > > > > As part of an architected move towards RESTful web services, or would > > > that be in web2py v2? ;-) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---