Fixing and testing - Issue #4 (make content type parsing lenient)