Fixed issue with Content-Type retrieval