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

Reply via email to