I have a question about Accept HTTP Header.
If I have a link ending with a specific extension, like in this case where my URL end with .xml :
<a id="writeXmlExt" class="writeXmlLink" href="<c:url value="/messageconverters/xml.xml" />">Write XML via ".xml"</a>
I would know if using URL that ending with an extension I am automatically setting the Accept header value related to the extension used.
For example, in the previous link is auomatically setted the Accept Header to the value: application/xml ?
Thank you
Andrea
不,接受标题字段不会基于href更改。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.