????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????RFC2616???????????3λ?????????????ɡ?
?????????е???λ???????????????λ?????????????????5???
????Type Reason-phrase Note
????1XX Informational ????????????????????????????
????2XX Success ?????????????????????????
????3XX Redirection ??????????????????????????и??????
????4XX Client Error ????????????????????????????????
????5XX Server Error ??????????????????????????????????
????RFC2616?????HTTP??????37?????????WebDAV??(RFC4918??5842)???Additional HTTP Status Codes??(RFC6585)????????60?????
?????????????????HTTP?????????????????14????????????14??????
????2XX Success
????This class of status code indicates that the client’s request was successfully received?? understood?? and accepted.
????2xx ?????????????????????????????????????????????
????200 OK
?????????????????????????????????????????????
????GET?????????????????????????
????HEAD??????????????????(entity-header)????????????????????????(message-body)??
????POST????????????????????
????204 No Content
???????????????????????????????????????????????????????????????.
???????磬?????????????????????????????204????????????????????治?????????
????206 Partial Content
???????????????????????Χ?????????????????????????GET????
?????????????????????????????а???Range??Ρ??????????????У??????????Content-Range?????Χ?????????(entity-bodies )
????3XX Redirection
????This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request.
????3XX ??????????????????????Щ?????????????????
????301 Movied Permanently
???????????????????????????????????????μ?URI????????????????????????URI??????????????????в???????????
????HEAD??????????????Location?????????μ????URI??
????GET????????Location????????????????????и?????URI????????????
????POST????????????POST???????301?????????????????URI??????????????????
???????磬??????URI???????????б???????????????e???Location???????????URI???±??檔
???????罨??????????????
????http://wan.bigertech.com
???????????????????????????????
????http://wan.meizu.com
???????????????????????http://wan.meizu.com
?????????Try yourself.
????302 Found
????????????????????????????????????????μ?URI??????????????????μ?URI?????
??????301 Moved Permanently ???????????302?????????????????????????????????
?????????????????URI?????????302??????????301??????????????
????303 See Other
????????????????????????????????????URI??????GET????????????????????303??302???????????302????????????????????????????POST?????????????????????POST????????303?????POST???????????????????????GET????
??????????????????????????HTTP/1.1??????????????????????303??????????????????302??????303????????????GET???????Location?й漲???URI?????????????????????
??????RFC2616???????????????????
????Note: Many pre-HTTP/1.1 user agents do not understand the 303 status. When interoperability with such clients is a concern?? the 302 status code may be used instead?? since most user agents react to a 302 response as described here for 303.
????304 Not Modified
????????????????????????????????????????????????????????????δ???????????????304????????????????κ???????????????????????????????????GET????????????а?????If-Match??If-Modified-Since??If-None-Match??If-Range??If-Unmodified-Since??????????
????307 Temporary Redirect
????????????????????302??303?????????????壬???????????307????????????????????????????????????????????(302?????????????????303??????GET????)
????4XX Client Error
????The 4xx class of status code is intended for cases in which the client seems to have erred.
????4XX ??????????????????????????????????
????400 Bad Request
????????????????д????????????·???????????????????????????????????????η???????
????401 Unauthorized
?????????????????????????????HTTP???(Basic?????Digest???)?????????????????401????????????????????WWW-Authenticate???????????????????????????
??????????????????????????????????????е?Authorization????????????
?????????????????????????RFC2617