Fix content type header being ignored if server responded with lower case headers