request() 此前忽略 options.method(默认 GET)与 options.body,导致 POST/PUT/DELETE 全部以 GET 空 body 发出;且无条件设置 Content-Type 误污染无 body 请求。 修复: 显式传递 method(默认 GET) 与 body; 仅当 body 非空时加 Content-Type。 测试 frontend/src/lib/http.test.ts(5/5):GET/POST/PUT/DELETE 的 method/body/headers。 运行: node --experimental-transform-types frontend/src/lib/http.test.ts