Handle Content-Type header with charset