use accept header instead of contentType