Bitcointalk

Authentication, JSON RPC and Python

中本聪 · 2010 年 8 月 3 日

SN-2067 已核对来源,附原文与上下文。

阅读语言
其他参与者原话gavinandresen原帖 ↗

你能更具体地说说哪些 JSON 库不提供 Content-Length 吗?把这个记录下来会很有用。

Can you be more specific about which JSON libraries don't provide Content-Length ? It'd be nice to document that.

中本聪回应

我想我们应该试着支持没有 Content-Length 参数的情形。不过我不想推倒重来换掉流处理,哪怕得一个字符一个字符地读。

I guess we should try to support the case where there's no Content-Length parameter. I don't want to rip and replace streams though, even if it has to read one character at a time.

编辑:当然,前提是真的存在不支持 Content-Length 的库。

Edit: That is, assuming there actually are any libraries that don't support Content-Length.

上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2067

阅读字号

选择适合你的字号,之后阅读会继续使用。