Improved pageview-counting code: it now looks only at the Content-Type header for the content type. Thanks to Juliusz Chroboczek for this fix.