Check that mime_type is defined before comparing it to text/plain. Fixes #3291.
Authored by: cboos 2006-06-20
Parent: [r3427]
Child: [r3429]