Web??????????????HTTP(1)????Э??
???????????? ???????[ 2015/9/2 10:07:01 ] ?????????????????? WEB????
????HTTPЭ????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????Э?????Щ?????У???????????????????????????????????????http???????????? ?????????????????ò?Э?飬?????TCP/IPЭ????????web????????GET??POST????????????????TELNET????? ?????????HTTP?????????????????????????80???
????1??HTTP?????????
????????3???汾??0.9??1.0??1.1????????????????????1.0????Щ?????1.1??????????????????????????
????HTTP0.9??????????? GET ????????????????????????汾????????????????????e汾????? POST ?????????????????????????????????????
????HTTP1.0????????????????汾??? HTTP Э??汾??????????????á??????0.9???????????????
????1????????????????? HEAD??POST???
????2??????????????????Э??汾???????????????“HTTP/1.0”???
????3????? Server?????????????????????????????200??????
????4?????MIME?????????(Header)???????(Body)???????????????????????????????????????????MIME??Header?“Content-type:text/html”?????????????????HTML???
????5????????MIME???????HTTPЭ??????????????????????????y????????????
????6???? Challenge/Response??????????????????????????Щ????????????????????????????????
????7???????????(proxy)?????????HTTP0.9?У??漲??Client??Server?????????????1.0??????????????м?????????????
????HTTP1.1????汾??????????????????????????????????????????????????????????????????????????·??????????????? ????? HTTP/1.0 Э?????????????????
????1 ???洦??
????2 ?????????????????????
????3 ???????????
????4 ??????????е????
????5 ??????????????
????6 ????????????
??????????????ó?????????????GET??POST???????????????????????????????GET??????POST????????PSOT??????GET ??????????????????????Щ?????????????????????е?????????????????????????????????????????????????????????????GET??????????? ??POST?????????????????????????????????????????????????????????
????2??HTTP?????????
???????????Э?飬???????????е???Э?飬?????????HTTP???????TCP/IPЭ?飬????????????????????Э?飬?????????? TCP??????п?????????????????????????TCP/IP????????HTTP??????????????????3?ν???????????????????????????? ???????????/???????????????????????????????????????????????????????????????URL??Э??汾????????????????η???????????????? ??????MIME???????????????????????????????????????????????Э???汾?????????????????????????????????????????????????? ????????崠?????£?
????a??????url???
????b??????????TCP??????????????HOST:PORT??
????c????????????????桾??????·????
????d????????????200??????????????
????e????????????????????????????????????????????
????3??HTTP?????????
????HTTP????????????????????????
??????????
????*Header
????CRLF
????[body]
????????
????*Header
????CRLF
????[body]
????????????CRLF??Header ??????????????/r/n
????HEADER???????п???????General-Header ??Request-Header??Response-Header ??Entity-Header???????????????????????????????????HTTPЭ??????????????????????????????????
????????BODY???????????????Щ????????????????????????????????????????????????????????????????????name??value????????????POST??????????
?????????GET?????????body????post?????????????????????????????????get????????post??????????????????
?????????http?????????????磺httpanalysis??wireshark
?????????????????Fiddler4
??????
???·???
??????????????????
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