Prefixing fails when a proxy has removed the file extension.

This change permits arbitrary proxy paths by relying on content type rather than file extension.