Search for a command to run...
解析原始 HTTP 头行,规范化头名称,并快速定位无效行。
限制:最多 64 KB,2000 行
{
"host": [
"example.com"
],
"accept": [
"application/json",
"text/plain"
],
"x-trace-id": [
"demo-123"
]
}host: example.com accept: application/json, text/plain x-trace-id: demo-123
| 行号 | 头名称 | 值 |
|---|---|---|
| 1 | Host | example.com |
| 2 | Accept | application/json |
| 3 | X-Trace-Id | demo-123 |
| 4 | Accept | text/plain |
未发现无效行。
What
HTTP 头是键值形式的元数据行(例如 Content-Type: application/json)。该工具可校验头格式并输出规范化结果,便于排障。
Cases
在复现 API 调用前校验复制的请求/响应头
发现会导致网关路由异常的格式错误头行
将重复头规范化用于文档与测试样例
检查 Authorization、Cookie 等敏感头
生成可直接用于 cURL/fetch 的整洁头块
在故障分析中按行定位解析错误
How To
粘贴头行后执行解析,查看规范化结果、重复项和错误行。
输入 Key: Value 格式的行,空行会被忽略。
点击 Parse,校验头名称并聚合重复头。
检查 JSON 和规范化头块,并复制所需输出。
Knowledge
FAQ