xmlrpc协议离线发布博客出错
本地和服务器端都安装了wordpress博客程序,用vim的博客插件vimrepress进行发布,本地的博客可以正常的发布,但远端的不行。同样,用为知笔记的“发布到博客”插件也可以发布到本地博客,但发布到服务器端就出错。这是为什么呢?是服务器端对xmlrpc做了限制还是其他问题?
vim报错代码:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 185, in __check
File "<string>", line 210, in __check
File "<string>", line 216, in __check
File "<string>", line 185, in __check
File "<string>", line 664, in blog_update_config
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1294, in single_request
response = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine: ''
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论