Fixed can not detect content-type