Just for future reference, in case anyone else has the same problems,
what did you do to solve your imageproblem?

On Mar 28, 3:05 am, inhahe <[EMAIL PROTECTED]> wrote:
> i fixed the problem with the images not showing up.  thanks for the help
>
> On Thu, Mar 27, 2008 at 9:26 PM, inhahe <[EMAIL PROTECTED]> wrote:
>
> > ah, so what i really have to do, then, is change ctx.status?
> > i just skimmed through the (not very user-friendly) documentation looking
> > for how to tell the server to issue a 404, and found notfound().  i wanted
> > it to reply with a 404 code and also send the contents of 404.html. i'll
> > try changing ctx.status.
>
> > the reason i wrote the routine is essentially so that the browser can
> > access status/somefile.ext with a uri of domain.net/somefile.ext instead
> > of domain.net/static/somefile.ext.
>
> > ok, changing web.ctx.status worked.  i still can't get the images to
> > render, though. i tried adding header('Content-Type', 'image/gif')  and
> > changing the file mode from 'r' to 'rb', still doesn't work.
--~--~---------~--~----~------------~-------~--~----~
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