RFC1867中http文件上传报文的sample
来源:互联网 发布:扑克牌记忆训练软件 编辑:程序博客网 时间:2024/05/21 09:19
6. Examples Suppose the server supplies the following HTML: <FORM ACTION="http://server.dom/cgi/handle" ENCTYPE="multipart/form-data" METHOD=POST> What is your name? <INPUT TYPE=TEXT NAME=submitter> What files are you sending? <INPUT TYPE=FILE NAME=pics> </FORM> and the user types "Joe Blow" in the name field, and selects a text file "file1.txt" for the answer to 'What files are you sending?' The client might send back the following data: Content-type: multipart/form-data, boundary=AaB03x --AaB03x content-disposition: form-data; name="field1" Joe Blow --AaB03x content-disposition: form-data; name="pics"; filename="file1.txt" Content-Type: text/plain ... contents of file1.txt ... --AaB03x-- If the user also indicated an image file "file2.gif" for the answer to 'What files are you sending?', the client might client might send back the following data: Content-type: multipart/form-data, boundary=AaB03x --AaB03x content-disposition: form-data; name="field1" Joe Blow --AaB03x content-disposition: form-data; name="pics" Content-type: multipart/mixed, boundary=BbC04y --BbC04y Content-disposition: attachment; filename="file1.txt" Content-Type: text/plain ... contents of file1.txt ... --BbC04y Content-disposition: attachment; filename="file2.gif" Content-type: image/gif Content-Transfer-Encoding: binary ...contents of file2.gif... --BbC04y-- --AaB03x--
0 0
- RFC1867中http文件上传报文的sample
- http 协议上传文件与 rfc1867
- 用http(RFC1867协议)上传文件
- [RFC1867] HTML中基于表单的文件上传
- Android Http POST文件上传之-----RFC1867协议
- Android Http POST文件上传之-----RFC1867协议
- RFC1867文件上传格式编码
- 通过 http 协议上传文件(rfc1867协议概述,jsp 应用举例,客户端发送内容构造)
- 通过 http 协议上传文件(rfc1867协议概述,jsp 应用举
- 通过 http 协议上传文件(rfc1867协议概述,jsp 应用举例,客户端发送内容构造)
- 通过 http 协议上传文件(rfc1867协议概述,jsp 应用举例,客户端发送内容构造)
- 通过 http 协议上传文件(rfc1867协议概述,jsp 应用举例,客户端发送内容构造)
- 通过 http 协议上传文件(rfc1867协议概述) multipart/form-data;boundary 解释
- 通过 http 协议上传文件(rfc1867协议概述,jsp 应用举例,客户端发送内容构造)
- PHP文件上传源码分析(RFC1867)
- PHP文件上传源码分析(RFC1867)
- PHP文件上传源码分析(RFC1867)
- Android文件图片上传的详细讲解(一)HTTP multipart/form-data 上传报文格式实现手机端上传
- vs2012启动调试,无法连接visual studio开发服务器
- Core Data入门
- 等待成功所引起的副作用
- 密码学_用户名和密码
- 浅谈设计PCB时抗ESD的方法
- RFC1867中http文件上传报文的sample
- 《“笨方法”学Python(第3版)》之Python学习篇(二)
- Android Context作为参数传递this
- 王艾辉:空头动力不足 多单是否能够一举突破
- (三)java实现文档的在线浏览-使用JODConverter将office文档转换为pdf
- log4j 入门教程(1) 入门例程
- java生成验证码
- .csv文件导入到oracle数据库
- 在Android中使用ExecutorService、Executors、Feature