ContentType Accepts DataType
2016-06-01 15:48
183 查看
ContentType: When sending data to the server, use this content type. Default is
application/x-www-form-urlencoded; charset=UTF-8, which is fine for most cases.
Accepts: The content type sent in the request header that tells the server what kind of response it will accept in return. Depends on
DataType.
DataType: The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response. Can be
text, xml, html, script, json, jsonp.
相关文章推荐
- Ubuntu TIP
- 常见的WindowManager问题分析
- 翻译windows internals 第12章文件系统
- Android应用启动后自动创建桌面快捷方式
- oracle 使用case when查询列
- [HDU 4328] Cut the cake (悬链法)
- mysql 报错ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing
- Javascript对象创建
- nginx配置详解
- 改善C#程序的50种方法
- 经典排序算法 - 冒泡排序Bubble sort
- 头部下拉放大(控件随着变化并透明)
- 大数据平台用于生成数据跑批脚本的脚本(version2.0)
- iOS PDF 及 缩略图
- java的文件操作处理时间数据
- 安卓自定义ImageView实现圆形图片效果
- 关于MYSQL替换和存储过程的问题、
- Python学习笔记(三)
- 改善C#程序的50种方法
- 理解tomcat之搭建简易http服务器