1. The Accept header field indicates that the client (usually the browser) can handle the MIMELE type.
Accept: text/html, indicating that the client wishes to receive HTML text.
Accept :image/gif, indicating that the client wishes to receive resources in GIF image format.
Accept :image/*, indicating that the client can receive images in all image formats.
Accept :*/*, indicating that the client can receive content in all formats.
Two: Accept-Charset header field
Tell the server the character set used by the client. If Accept-Charset does not appear in the request header, it means that the client can receive data using any character set.
If the Accept-Charaset header is present in the request message, but the server cannot send the document in the charset encoding expected by the client, then the server will send a 406 error status code response.
三:Accept-Ecoding
It is used to specify the data encoding method that the client can decode. The writing method here usually refers to a certain compression method.