More & More Fun w/ Pics & MySQL

Victor Subervi victorsubervi at gmail.com
Fri Oct 16 23:39:19 CEST 2009


I was trying all sorts of crap. I tried it without, too. Still didn't work
:(
V

On Fri, Oct 16, 2009 at 4:42 PM, Carsten Haese <carsten.haese at gmail.com>wrote:

> Victor Subervi wrote:
> > [snip...]
> >
> > print 'Content-type: image/jpeg'
> > print 'Content-Encoding: base64'
> > print
> > print pic().encode('base64')
> > print '</body></html>'
> >
> > [snip...]
>
> Why are you printing "</body></html>" at the end of a page that is
> supposed to be a base64-encoded JPEG file?
>
> --
> Carsten Haese
> http://informixdb.sourceforge.net
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091016/af905c69/attachment.html>


More information about the Python-list mailing list