The Accept request header is used to specify which media types are appropriate for the response.
接受请求头用于指定什么媒体类型对响应是合适的。
In the client class, uncomment the following Accept header media type setting in Listing 26.
在客户端类中,取消清单26中的以下Accept头媒体类型设置的注释。
Specify acceptable media types using the accept header.
使用accept头指定可接受的媒体类型。
应用推荐