linghengqian commented on issue #31203:
URL: 
https://github.com/apache/shardingsphere/issues/31203#issuecomment-2294625998

   - I've done some more interesting tracking on this issue, and I reasonably 
believe that this is one of Mozilla's shit-hills of code, and Chrome is just 
perfectly inheriting Mozilla's conventions.
   - This is actually 
https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values
 ​​which is a constraint for all browsers.
   
   > User Agent: Firefox 128 and later [1]
   > Value: 
`text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8`
   
   - This is documented at 
https://github.com/spring-projects/spring-boot/blob/v3.3.2/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc#write-an-xml-rest-service
 and 
https://github.com/spring-projects/spring-boot/blob/v3.3.2/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc#write-a-json-rest-service
 .
   
   - Be responsible. Choose `Custom @ResponseBody rendering` or `Custom Jackson 
ObjectMapper` as required by Spring Boot.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to