fixed a non-working strcmp for content-type header