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.ha...@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 >
-- http://mail.python.org/mailman/listinfo/python-list