---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# HTTP 拟新增 QUERY 方法：带请求体的安全查询

Source: https://www.zaihua.news/article/42066/

[返回新闻流](https://www.zaihua.news/)
2026年6月20日 · 14:28 · [在花新闻](https://www.zaihua.news/about/)

# HTTP 拟新增 QUERY 方法：带请求体的安全查询

IETF HTTP 工作组正在制定一项草案，新增 HTTP QUERY 请求方法。它允许像 POST 一样把查询条件放在请求体里，但具有 GET 的安全和幂等特性，便于缓存、重试和自动恢复。

QUERY 主要解决 URI 查询字符串太长的问题，并定义了 Accept-Query 响应头，让服务器声明支持的查询格式。草案仍在讨论中，当前版本将于 2026 年 12 月到期。

[HTTP Working Group](https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-method-w-body.html)

🌸 [在花频道](http://t.me/ZaiHuaPd) · [英文频道](https://t.me/zaihua_news) · [投稿通道](http://t.me/ZaiHuabot)

[上一条我国首部 L3/L4 自动驾驶强制性国标报批，2027 年实施](https://www.zaihua.news/article/42065/)[下一条 LM Studio 与苹果合作在四台 Mac Studio 上运行 1T 参数模型](https://www.zaihua.news/article/42067/)
