I'm reading this list everyday and i think that at least FAQ should be
expanded...

On 17 Sty, 23:43, Adam Atlas <[EMAIL PROTECTED]> wrote:
> On 17 Jan 2008, at 17:35, inhahe wrote:
>
>
>
> > But how do you actually serve them?  Do you just use print statements?
> > like
> > if tail[:8]=="/static/": print open(tail, 'rb').read()        ?
> > wouldn't printing it mess with the binary data?
>
> No, if you're using web.py's built-in HTTP server, it automatically
> handles any directory named "/static/" for you. If you're using some
> other HTTP server, then you'll need to specially configure it, in a
> way that will depend on the circumstances. (Also, in that case, it
> doesn't need to be named "static".) What HTTP server & WSGI adapter
> are you using?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to