c # HttpWebRequest class value type ContentType


The format type of the media application beginning:
 
   application / XHTML + XML: XHTML format
   application / xml: XML data format
   application / atom + xml: Atom XML syndication format    
   application / json: JSON data format
   application / pdf: pdf format  
   application / msword: Word document format
   application / octet-stream: a binary stream of data (such as the common file download)
   file application / X-WWW-form-urlencoded: <form encType = ""> the default encType, form form data is encoded as a key / value transmission format to the server (the default format of the data submission form)


    text / html: HTML format
    text / plain: plain text format      
    text / xml: XML format
    image / gif: gif image format    
    image / jpeg: jpg image format 
    image / png: png image format

 


Original: https: //blog.csdn.net/chao88552828/article/details/78830971 
 

Guess you like

Origin blog.csdn.net/cn_514/article/details/89638591