very minor
<pre>
resp.content_type
</pre>
should work as well here.