Trouble with flex file-uploading and twisted.web2 FileSaver(烙铁)
来源:互联网 发布:电商运营数据指标 编辑:程序博客网 时间:2024/05/01 06:17
用Flex的FileReference来把文件post到twisted.web2写得服务端,这个看似很简单,却问题多多。
Flex总是报错“IO错误, #2038”
(代码很普通,文档中的实例)
服务段代码:
无奈之下,sniff了一把。(mac下free:CocoaPacketAnalyzer)
Flash Player post 了数据:
眼看着post完了,到了最后,twisted.web2返回:
这个错误很奇怪:
Bad Request
Unexpected data on same line as boundary: '--'
spotlight twisted 源码,只有web2, fileupload.py用了这样的字符:
exarkun回信说:
This sounds like it may be related to this ticket:
http://twistedmatrix.com/trac/ticket/2113
Or it may be another unrelated error. If you can try the patch attached
to that ticket and comment if it works, that might be helpful.
Development is not currently proceeding very rapidly on Twisted Web2,
though. You may need to champion the ticket in order to get it
resolved.
还没实验到底能不能用.
- Trouble with flex file-uploading and twisted.web2 FileSaver(烙铁)
- Uploading File with PHP and Client Side Scripting
- File uploading
- ASP.NET File Uploading
- Uploading Files With PHP
- Uploading and Downloading Files
- Downloading and Uploading Forms
- Django 1.5.4 专题11 file uploading and updating database schema
- send parameters while uploading file
- spring-guide之uploading-file
- The Trouble With Multicore
- The Trouble With Girls
- Powershell with file and directory
- Accessing the Local File System with Flex
- Creating Mashups with Adobe Flex and AIR
- Uploading data directly from Excel file format
- The Trouble with Checked Exceptions
- Quick and strong file-encryption with OpenSSL
- 【补足基础】C语言18个经典问题答录
- 延迟加载图片的 jQuery 插件:Lazy Load
- 创建ASM实例及ASM数据库
- 《小小计算器》 去年大一时写的 留个纪念吧 嘿嘿
- 《小小计算器》 去年大一时写的 留个纪念吧 嘿嘿
- Trouble with flex file-uploading and twisted.web2 FileSaver(烙铁)
- 判断二元数列是否是后序遍历查找树
- oracle游标总结
- oracle游标总结
- 小小事记事本
- oracle游标总结
- 都说做事用心很重要
- c++编程常遇问题总结
- C++老鸟感谢C#【转】