these should be under controller name "static", so I don't expect what
Massimo describes will conflict. -- Yarko

Even if they are an {{include}} in the view?

On May 21, 11:50 am, Yarko Tymciurak <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to