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參數。

相關文章
相關標籤/搜索