ÄúµÄλÖãºÊ×Ò³ ¡ú ¾«ÎÄÜöÝÍ ¡ú Èí¼þ×ÊѶ ¡ú ʹÓÃ.NETʵÏֶϵãÐø´«

ʹÓÃ.NETʵÏֶϵãÐø´«

ʱ¼ä£º2004/10/8 13:17:00À´Ô´£º±¾Õ¾ÕûÀí×÷ÕߣºÀ¶µãÎÒÒªÆÀÂÛ(0)

ivy_live521£¨Ô­×÷£©


¶ÏµãÐø´«µÄÔ­Àí
ÔÚÁ˽âHTTP¶ÏµãÐø´«µÄÔ­Àí֮ǰ£¬ÏÈÀ´ËµËµHTTPЭÒ飬HTTPЭÒéÊÇÒ»ÖÖ»ùÓÚtcpµÄ¼òµ¥Ð­Ò飬·ÖΪÇëÇóºÍ»Ø¸´Á½ÖÖ¡£ÇëÇóЭÒéÊÇÓÉ¿Í»§»ú(ä¯ÀÀÆ÷)Ïò·þÎñÆ÷£¨WEB SERVER£©Ìá½»ÇëÇóʱ·¢Ëͱ¨ÎĵÄЭÒé¡£»Ø¸´Ð­ÒéÊÇÓÉ·þÎñÆ÷(web server)£¬Ïò¿Í»§»ú(ä¯ÀÀÆ÷)»Ø¸´±¨ÎÄʱµÄЭÒé¡£ÇëÇóºÍ»Ø¸´Ð­Ò鶼ÓÉÍ·ºÍÌå×é³É¡£Í·ºÍÌåÖ®¼äÒÔÒ»ÐпÕÐÐΪ·Ö¸ô¡£


 


ÒÔÏÂÊÇÒ»¸öÇëÇó±¨ÎÄÓëÏàÓ¦µÄ»Ø¸´±¨ÎĵÄÀý×Ó£º


GET /image/index_r4_c1.jpg HTTP/1.1


Accept: */*


Referer: http://192.168.3.120:8080


Accept-Language: zh-cn


Accept-Encoding: gzip, deflate


User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)


Host: 192.168.3.120:8080


Connection: Keep-Alive


 


 


HTTP/1.1 200 OK


Server: Microsoft-IIS/5.0


Date: Tue, 24 Jun 2003 05:39:40 GMT


Content-Type: image/jpeg


Accept-Ranges: bytes


Last-Modified: Thu, 23 May 2002 03:05:40 GMT


ETag: "bec48eb862c21:934"


Content-Length: 2827


 


ÿ? JFIF  H H  ÿ C [1]


¡­.


 


ÏÂÃæÎÒÃǾÍÀ´ËµËµ¡°¶ÏµãÐø´«¡±¡£


¹ËÃû˼Ò壬¶ÏµãÐø´«¾ÍÊÇÔÚÉÏÒ»´ÎÏÂÔØʱ¶Ï¿ªµÄλÖÿªÊ¼¼ÌÐøÏÂÔØ¡£ÔÚHTTPЭÒéÖУ¬¿ÉÒÔÔÚÇëÇó±¨ÎÄÍ·ÖмÓÈëRange¶Î£¬À´±íʾ¿Í»§»úÏ£Íû´ÓºÎ´¦¼ÌÐøÏÂÔØ¡£


±ÈÈç˵´ÓµÚ1024×Ö½Ú¿ªÊ¼ÏÂÔØ£¬ÇëÇó±¨ÎÄÈçÏ£º


 


GET /image/index_r4_c1.jpg HTTP/1.1


Accept: */*


Referer: http://192.168.3.120:8080


Accept-Language: zh-cn


Accept-Encoding: gzip, deflate


User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)


Host: 192.168.3.120:8080


Range:bytes=1024-


Connection: Keep-Alive


 


.NETÖеÄÏà¹ØÀà
Ã÷°×ÁËÉÏÃæµÄÔ­Àí£¬ÄÇô£¬ÎÒÃÇÀ´¿´¿´.NET FRAMEWORKÖÐΪÎÒÃÇÌṩÁËÄÄЩÀà¿ÉÒÔÀ´×öÕâЩÊ¡£


Íê³ÉHTTPÇëÇó
System.Net.HttpWebRequest


HttpWebRequest Àà¶Ô WebRequest Öж¨ÒåµÄÊôÐԺͷ½·¨Ìṩ֧³Ö£¬Ò²¶ÔʹÓû§Äܹ»Ö±½ÓÓëʹÓà HTTP µÄ·þÎñÆ÷½»»¥µÄ¸½¼ÓÊôÐԺͷ½·¨Ìṩ֧³Ö¡£


HttpWebRequest ½«·¢Ë͵½ Internet ×ÊÔ´µÄ¹«¹² HTTP ±êÍ·Öµ¹«¿ªÎªÊôÐÔ£¬ÓÉ·½·¨»òϵͳÉèÖá£Ï±í°üº¬ÍêÕûÁÐ±í¡£¿ÉÒÔ½« Headers ÊôÐÔÖеÄÆäËû±êÍ·ÉèÖÃΪÃû³Æ/Öµ¶Ô¡£µ«ÊÇ×¢Ò⣬ijЩ¹«¹²±êÍ·±»ÊÓΪÊÜÏÞÖƵģ¬ËüÃÇ»òÕßÖ±½ÓÓÉ API¹«¿ª£¬»òÕßÊܵ½ÏµÍ³±£»¤£¬²»ÄÜ

Ïà¹ØÔĶÁ Windows´íÎó´úÂë´óÈ« Windows´íÎó´úÂë²éѯ¼¤»îwindowsÓÐʲôÓÃMac QQºÍWindows QQÁÄÌì¼Ç¼ÔõôºÏ²¢ Mac QQºÍWindows QQÁÄÌì¼Ç¼Windows 10×Ô¶¯¸üÐÂÔõô¹Ø±Õ ÈçºÎ¹Ø±ÕWindows 10×Ô¶¯¸üÐÂwindows 10 rs4¿ìËÙÔ¤ÀÀ°æ17017ÏÂÔØ´íÎóÎÊÌâWin10Çï¼¾´´ÒâÕ߸üÐÂ16291¸üÐÂÁËʲô win10 16291¸üÐÂÄÚÈÝwindows10Çï¼¾´´ÒâÕ߸üÐÂʱ¼ä windows10Çï¼¾´´ÒâÕ߸üÐÂÄÚÈÝkb3150513²¹¶¡¸üÐÂÁËʲô Windows 10²¹¶¡kb3150513ÊÇʲô

ÎÄÕÂÆÀÂÛ
·¢±íÆÀÂÛ

ÈÈÃÅÎÄÕ 360¿ì¼ô¼­ÔõôʹÓà 36½ðɽ´Ê°ÔÈçºÎÆÁĻȡ´Ê°Ù¶ÈÊÕ¹ºPPSÒÑÇö¨£¡3

×îÐÂÎÄÕ ΢ÐÅ3.6.0²âÊÔ°æ¸üÐÂÁË΢ÐÅÖ§¸¶Â©¶´»áÔì³ÉÄÄ 360¿ì¼ô¼­ÔõôʹÓà 360¿ì¼ô¼­Èí¼þʹÓ÷½·¨½é¿áÆïµ¥³µÊÇʲô ¿áÆïµ¥³µÓÐʲôÓÃApple payÓëÖ§¸¶±¦ÓÐʲôÇø±ð Apple payÓë±´±´ÌØÂôÊÇÕýÆ·Âð ±´±´ÌØÂôÍø¿É¿¿Âð

ÈËÆøÅÅÐÐ xpϵͳֹͣ·þÎñÔõô°ì?xpϵͳÉý¼¶win7ϵͳ·½µçÄÔÄÖÖÓÔõôÉèÖà win7µçÄÔÄÖÖÓÔõôÉèÖÃoffice2013°²×°½Ì³Ìͼ½â£ºÊÖ°ÑÊÖ½ÌÄã°²×°ÓëqqÓ°ÒôÉÁÍËÔõô°ì QQÓ°ÒôÉÁÍ˽â¾ö·½·¨VeryCD¾µÏñÍøÕ¾Öð¸öÊý£¬µç¿×ÊÁÏ¿âÈ«¼¯Í¬²½ÍÆÊÇʲô£¿Í¬²½ÍÆʹÓ÷½·¨½éÉÜQQ2012ʲôʱºò³ö ×îаæÏÂÔØEDiary¡ª¡ªÒ»¿îºÃÓõĵç×ÓÈռDZ¾