check that content is text/html
rudimentary handling for non-html content
prettified output string
human readable filesize
fixed syntax error
Merge branch 'title-handle-file-objs'

Differentiates content-type text/html from others:
* still retrieve title for html pages
* others: tell the content-type and filesize