ContentType解析

http://blog.csdn.net/blueheart20/article/details/45174399html

http://www.iteye.com/topic/1127120spa

  1. 类型格式:type/subtype(;parameter)

  2. 主类型,任意的字符串,如text,若是是*号表明全部;   

  3. subtype,子类型,任意的字符串,如html,若是是*号表明全部;   

  4. parameter(可选),一些参数,如Accept请求头的q参数、Content-Type的charset参数。

相关文章
相关标签/搜索