我在http://blog.thekfactor.info/posts/an-introduction-to-node-js-and-handling-post-requests/的帮助下实现了一个解析 POST 的 http 服务器 (只是我不想使用快递。)
但是,我得到的有
[2013-10-10 10:27:29.670] [INFO] 控制台 - ------WebKitFormBoundaryMjfXHTTJYUdOInJ4 内容处置:表单数据;名称="路线"
connector.sgtrackHandler.log ------WebKitFormBoundaryMjfXHTTJYUdOInJ4 Content-Disposition: form-data; 名称=“身体”
{"appid":"1234","event":"test","params":{}} ------WebKitFormBoundaryMjfXHTTJYUdOInJ4--
[2013-10-10 10:27:29.671] [INFO] 控制台-{'------ WebKitFormBoundaryMjfXHTTJYUdOInJ4\r\nContent-Disposition: form-data; name': '"路由"\r\n\r\nconnector.sgtrackHandler.log\r\n------WebKitFormBoundaryMjfXHTTJYUdOInJ4\r\nContent-Disposition: form-data; name="body"\r\n\r\n{"appid":"1234","event":"test","params":{}}\r\n------WebKitFormBoundaryMjfXHTTJYUdOInJ4-- \r\n' }
我无法处理这样的多部分表单WebKitFormBoundaryMjfXHTTJYUdOInJ4 ...知道吗?