--- simple-browser.py	2006-10-08 14:50:11.000000000 +0300
+++ s.py	2006-10-08 14:50:23.000000000 +0300
@@ -36,7 +36,7 @@
     currentUrl = resolve_uri(link)
     document.clear()
     headers = f.info()
-    mime = headers.getheader('Content-type')
+    mime = headers.getheader('Content-type').split(';')[0]
     if mime:
         document.open_stream(mime)
     else:
