HTTPЭ?????
???????????? ???????[ 2015/7/14 10:47:19 ] ????????HttpЭ??
???????
??????????????в??????HTTP???????????HTTP???Щ????????????????????2????HTTP???????????????????????????????HTTPЭ????????з?????
????HTTP?????????
??????????????С????????????????????????:
????1.????????????????????λ???
????2.???????????????????λ?ú???λ???????????
????3.????????????????????????????????
????????WEB??????????????????????????????????????????:???????λ??(URIs)???????????Э??(HTTP)?????????????(HTML)??????????WEB??????????URI??HTML???????????????HTTPЭ??????WEB?????ж??????????????HTTP?????????????
????HTTP?????????Э?飬?????HTML???????????????????????е?HTTP1.1??HTTPЭ?????????汾??
????HTTP 0.9
????HTTP 0.9???HTTPЭ????????汾???????????????(Request)?????У?????:
????GET www.cnblogs.com
?????????????????壬???POST?????????HTTP??????????????????HTTP???????????????????????????????????ò?????????????????404 500?????????
???????HTTP 0.9???????????????????????????????????????
????HTTP 1.0
????????1996???WEB?????????HTTP 0.9???????????????HTTP1.0?????????????POST????????????????HTML??????????????????????????????WEB??ó????????????????????????????????HTTP??????HTTP???????????????????HTTPЭ???????????????????????????????????????????и????
??????????????????????????????TCP??????????????????HTTP1.0???????????????????
????HTTP 1.1
????2000??5?£?HTTP1.1?????HTTP1.1??????HTTP1.0????HTTP0.9??????????????????к???????
???????????????Host????????????????:
????GET/Careyson HTTP/1.1
????Host:www.cnblogs.com
????Get?????????????·?????ɡ???????????????????????о???????????????????????Web?????????????????????????????????????IP???????????
????????????????Range?????????????HTTP???????????????????????????????????????????
?????????????????HTTP1.1??????????????????????????????????о????????
????HTTP????????
??????Internet?????е?????????TCP/IP???е??HTTPЭ?????TCP/IP???????ò??Э?????????HTTP???????е??????1?????
?????1.HTTP??TCP/IP?е???
?????????????HTTP??????????TCPЭ?飬??TCP????????????????????Э?顣??ν???????????????????????????????????HTTP???????????????????????TCP???????TCP?????????????ν??“????????”?????????2?????
?????2.TCP?????????????
??????TCP?????????????????TCP????????HTTP??????д??????????????????????????????HTTP????????????????TCP???????HTTP1.1??(???Connection?????)??????????????ν??HTTP????????????????????????????????
?????????????????????Fiddler???????????????????????3?????
?????3.??fiddler??????????
????????????????????????????????????????????????????HTML????????????????HTML??????????У?????????????????????????η???HTTP?????????????????????2?е????common2.css????????19??HTTP????????????TCP??????????????ν??????????????ν?????HTTP??????ɡ?
????HTTP????(HTTP Request)
??????ν??HTTP???????Web???????Web?????????????????????????????????????
????1.??????
????2.HTTP?
????3.????
?????????????????б???:
????GET www.cnblogs.com HTTP/1.1
??????????д??????????????????????????????????????????????????????????????????HTTP?汾??
???????????HTTP???HTTP?????????3??HTTP???1.?????(request header)2.????(general header)3.????(entity header)
????????????????Get????????????????????壬????????????????
???????????????????POST?????д???????GET???????????κ???塣
??????????????????Post?????????????????????????????aspx???????BUTTON???????????????Post???????4?????
?????4.HTTP???????????????
????HTTP??????
??????????????????????Get??Post?????????????HTTP?????????к?????磺PUT??????DELETE??????HEAD??????CONNECT??????TRACE??????????????????????Bing??
???????????????Get??Post?????????????Get??Post??????????ɡ???????????????????Get??Post?????????Post??????????????????????????Get???????????????????Get??Post???????????????Get????????????????????????????QueryString??????????????????Υ????Get?????QueryString?е??????HTTP????????????????????????????????????Post?????????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11