Accept and Accept-Charset - Which is superior?

前端 未结 5 713
攒了一身酷
攒了一身酷 2020-12-08 04:16

In HTTP you can specify in a request that your client can accept specific content in responses using the accept header, with values such as application/xm

5条回答
  •  攒了一身酷
    2020-12-08 04:48

    Read RFC 2616 Section 14.1 and 14.2. The Accept header does not allow you to specify a charset. You have to use the Accept-Charset header instead.

提交回复
热议问题