2026-05-06 11:48 浏览次数 14
不明
A wants method executes the corresponding code block if the method name matches the type in the HTTP Accept header.
如果方法名称与HTTP Accept头中的类型匹配,wants方法执行对应的代码块。
You read the HTTP Accept header, and set the MIME type depending on the capabilities of the user agent.
你读取HTTP Accept头信息,按照用户代理程序的兼容性设置MIME类型。