Fix content type detection
Merge branch 'fix/case-sensetive-content-type' into dev