2018-02-20 10:40:05 +08:00
<!-- GFM - TOC -->
2018-02-22 14:47:54 +08:00
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )
* [Web<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#web<65> <62> <EFBFBD> <EFBFBD> )
2018-02-20 10:40:05 +08:00
* [URL ](#url )
2018-02-22 14:47:54 +08:00
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <D3A6> <EFBFBD> <EFBFBD> )
* [HTTP <20> <> <EFBFBD> <EFBFBD> ](#http-<2D> <> <EFBFBD> <EFBFBD> )
* [GET<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȡ<EFBFBD> <EFBFBD> Դ ](#get<65> <74> ȡ<EFBFBD> <C8A1> Դ )
* [POST<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʵ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#post<73> <74> <EFBFBD> <EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )
* [HEAD<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȡ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> ](#head<61> <64> ȡ<EFBFBD> <C8A1> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> )
* [PUT<EFBFBD> <EFBFBD> <EFBFBD> ϴ<EFBFBD> <EFBFBD> ļ<EFBFBD> ](#put<75> ϴ<EFBFBD> <CFB4> ļ<EFBFBD> )
* [DELETE<EFBFBD> <EFBFBD> ɾ<EFBFBD> <EFBFBD> <EFBFBD> ļ<EFBFBD> ](#deleteɾ<65> <C9BE> <EFBFBD> ļ<EFBFBD> )
* [OPTIONS<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ѯ֧<EFBFBD> ֵķ<EFBFBD> <EFBFBD> <EFBFBD> ](#options<6E> <73> ѯ֧<D1AF> ֵķ<D6B5> <C4B7> <EFBFBD> )
* [RACE<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ·<EFBFBD> <EFBFBD> ](#race<65> <D7B7> ·<EFBFBD> <C2B7> )
* [CONNECT<EFBFBD> <EFBFBD> Ҫ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӵ<EFBFBD> <EFBFBD> <EFBFBD> ](#connectҪ<74> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> <D0AD> <EFBFBD> <EFBFBD> <EFBFBD> Ӵ<EFBFBD> <D3B4> <EFBFBD> )
* [HTTP ״̬<D7B4> <CCAC> ](#http-״̬<D7B4> <CCAC> )
* [2XX <20> ɹ<EFBFBD> ](#2xx-<2D> ɹ<EFBFBD> )
* [3XX <20> ض<EFBFBD> <D8B6> <EFBFBD> ](#3xx-<2D> ض<EFBFBD> <D8B6> <EFBFBD> )
* [4XX <20> ͻ<EFBFBD> <CDBB> ˴ <EFBFBD> <CBB4> <EFBFBD> ](#4xx-<2D> ͻ<EFBFBD> <CDBB> ˴ <EFBFBD> <CBB4> <EFBFBD> )
* [5XX <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#5xx-<2D> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )
* [HTTP<EFBFBD> ײ<EFBFBD> ](#http<74> ײ<EFBFBD> )
* [ͨ<EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <EFBFBD> ֶ<EFBFBD> ](#ͨ<> <CDA8> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> )
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <EFBFBD> ֶ<EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> )
* [<EFBFBD> <EFBFBD> Ӧ<EFBFBD> ײ<EFBFBD> <EFBFBD> ֶ<EFBFBD> ](#<23> <> Ӧ<EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> )
* [ʵ<EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <EFBFBD> ֶ<EFBFBD> ](#ʵ<> <CAB5> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> )
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <D3A6> )
2018-02-20 10:40:05 +08:00
* [Cookie ](#cookie )
2018-02-22 14:47:54 +08:00
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> )
* [<EFBFBD> ־<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> ־<EFBFBD> <D6BE> <EFBFBD> <EFBFBD> <EFBFBD> )
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> )
* [<EFBFBD> ֿ鴫<EFBFBD> <EFBFBD> ](#<23> ֿ鴫<D6BF> <E9B4AB> )
* [<EFBFBD> ಿ<EFBFBD> ֶ<EFBFBD> <EFBFBD> <EFBFBD> ](#<23> ಿ<EFBFBD> ֶ<EFBFBD> <D6B6> <EFBFBD> )
* [<EFBFBD> <EFBFBD> Χ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> Χ <EFBFBD> <CEA7> <EFBFBD> <EFBFBD> )
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> Э<EFBFBD> <D0AD> )
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )
* [ͨ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ת<EFBFBD> <EFBFBD> ](#ͨ<> <CDA8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ת<EFBFBD> <D7AA> )
2018-02-20 10:40:05 +08:00
* [HTTPs ](#https )
2018-02-22 14:47:54 +08:00
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> )
* [<EFBFBD> <EFBFBD> ֤ ](#<23> <> ֤ )
* [<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ](#<23> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> )
2018-02-20 10:40:05 +08:00
<!-- GFM - TOC -->
2018-02-22 14:47:54 +08:00
# <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## Web<65> <62> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
HTTP<EFBFBD> <EFBFBD> HyperText Transfer Protocol<6F> <6C> <EFBFBD> <EFBFBD> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> 飩<EFBFBD> <E9A3A9>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
WWW<EFBFBD> <EFBFBD> Word Wide Web<65> <62> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ּ<EFBFBD> <D6BC> <EFBFBD> <EFBFBD> <EFBFBD> HTML<4D> <4C> HTTP<54> <50> URL<52> <4C>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
RFC<EFBFBD> <EFBFBD> Request for Comments<74> <73> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 飩<EFBFBD> <E9A3A9> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ĵ<EFBFBD> <C4B5> <EFBFBD>
2018-02-20 10:40:05 +08:00
## URL
2018-02-22 14:47:54 +08:00
URI<EFBFBD> <EFBFBD> Uniform Resource Indentifier<65> <72> ͳһ <CDB3> <D2BB> Դ<EFBFBD> <D4B4> ʶ<EFBFBD> <CAB6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URL<52> <4C> Uniform Resource Locator<6F> <72> ͳһ <CDB3> <D2BB> Դ<EFBFBD> <D4B4> λ<EFBFBD> <CEBB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URN<52> <4E> Uniform Resource Name<6D> <65> ͳһ <CDB3> <D2BB> Դ<EFBFBD> <D4B4> <EFBFBD> ƣ<EFBFBD> <C6A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> urn:isbn:0-486-27557-4 <20> <> URI <20> <> <EFBFBD> <EFBFBD> URL <20> <> URN<52> <4E> Ŀǰ WEB ֻ<> <D6BB> URL <20> Ƚ<EFBFBD> <C8BD> <EFBFBD> <EFBFBD> У <EFBFBD> <D0A3> <EFBFBD> <EFBFBD> Լ<EFBFBD> <D4BC> <EFBFBD> <EFBFBD> Ļ<EFBFBD> <C4BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URL<52> <4C>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
URL<EFBFBD> <EFBFBD> ʽ <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/4102b7d0-39b9-48d8-82ae-ac4addb7ebfb.jpg)
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <D3A6> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/9dbb5fc2-936b-4c6d-b3a7-9617aae45080.jpg)
2018-02-22 14:47:54 +08:00
**<2A> <> Ӧ<EFBFBD> <D3A6> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/c634b5ed-a14b-4302-b40e-3ee387dd3c8a.jpg)
2018-02-22 14:47:54 +08:00
# HTTP <20> <> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> ͻ<EFBFBD> <EFBFBD> ˷<EFBFBD> <EFBFBD> ͵<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ĵ<EFBFBD> һ <EFBFBD> <EFBFBD> Ϊ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> У <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˷<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֶΡ <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## GET<45> <54> <EFBFBD> <EFBFBD> ȡ<EFBFBD> <C8A1> Դ
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## POST<53> <54> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
POST <20> <> ҪĿ<D2AA> IJ<EFBFBD> <C4B2> ǻ<EFBFBD> ȡ<EFBFBD> <C8A1> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> Ǵ<EFBFBD> <C7B4> <EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
GET <20> <> POST <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> ö<EFBFBD> <C3B6> <EFBFBD> <EFBFBD> IJ<EFBFBD> <C4B2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> GET <20> IJ<EFBFBD> <C4B2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Բ<EFBFBD> ѯ<EFBFBD> ַ<EFBFBD> <D6B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URL<52> У <EFBFBD> <D0A3> <EFBFBD> POST <20> IJ<EFBFBD> <C4B2> <EFBFBD> <EFBFBD> 洢<EFBFBD> <E6B4A2> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> 岿<EFBFBD> ֡<EFBFBD>
2018-02-20 10:40:05 +08:00
```
GET /test/demo_form.asp?name1=value1& name2=value2 HTTP/1.1
```
```
POST /test/demo_form.asp HTTP/1.1
Host: w3schools.com
name1=value1& name2=value2
```
2018-02-22 14:47:54 +08:00
GET <20> Ĵ<EFBFBD> <C4B4> η<EFBFBD> ʽ <EFBFBD> <CABD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> POST <20> <> ȫ<EFBFBD> Խϲ <CFB2> <EEA3AC> Ϊ GET <20> <> <EFBFBD> IJ<EFBFBD> <C4B2> <EFBFBD> <EFBFBD> <EFBFBD> URL <20> ǿɼ<C7BF> <C9BC> ģ<EFBFBD> <C4A3> <EFBFBD> <EFBFBD> ܻ<EFBFBD> й¶˽<C2B6> <CBBD> <EFBFBD> <EFBFBD> Ϣ<EFBFBD> <CFA2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> GET ֻ֧<D6BB> <D6A7> ASCII <20> ַ<EFBFBD> <D6B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ܻ<EFBFBD> <DCBB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 룬<EFBFBD> <EBA3AC> POST ֧<> ֱ<EFBFBD> <EFBFBD> ַ<EFBFBD> <D6B7> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## HEAD<41> <44> <EFBFBD> <EFBFBD> ȡ<EFBFBD> <C8A1> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> GET <20> <> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Dz<EFBFBD> <C7B2> <EFBFBD> <EFBFBD> ر<EFBFBD> <D8B1> <EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> 岿<EFBFBD> ֡<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> Ҫ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȷ<EFBFBD> <EFBFBD> URL <20> <> <EFBFBD> <EFBFBD> Ч<EFBFBD> <D0A7> <EFBFBD> Լ<EFBFBD> <D4BC> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> µ<EFBFBD> <C2B5> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> ȡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## PUT<55> <54> <EFBFBD> ϴ<EFBFBD> <CFB4> ļ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <EFBFBD> <EFBFBD> ƣ<EFBFBD> <EFBFBD> κ<EFBFBD> <EFBFBD> ˶<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ϴ<EFBFBD> <EFBFBD> ļ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˴ <EFBFBD> <EFBFBD> ڰ<EFBFBD> ȫ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ⣬һ <EFBFBD> <EFBFBD> WEB <20> <> վ<EFBFBD> <D5BE> ʹ <EFBFBD> ø÷<C3B8> <C3B7> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## DELETE<54> <45> ɾ<EFBFBD> <C9BE> <EFBFBD> ļ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> PUT <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ෴<EFBFBD> <E0B7B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͬ<EFBFBD> <CDAC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4> <EFBFBD> ơ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## OPTIONS<4E> <53> <EFBFBD> <EFBFBD> ѯ֧<D1AF> ֵķ<D6B5> <C4B7> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> ѯָ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URL <20> ܹ<EFBFBD> ֧<EFBFBD> ֵķ<D6B5> <C4B7> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> ᷵<EFBFBD> <EFBFBD> Allow: GET, POST, HEAD, OPTIONS <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## RACE<43> <45> <EFBFBD> <D7B7> ·<EFBFBD> <C2B7>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ὣͨ<EFBFBD> <EFBFBD> ·<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ظ<EFBFBD> <EFBFBD> ͻ<EFBFBD> <EFBFBD> ˡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Max-Forwards <20> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> <D6B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֵ<EFBFBD> <D6B5> ÿ<EFBFBD> <C3BF> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͻ<EFBFBD> <CDBB> <EFBFBD> 1<> <31> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֵΪ 0 ʱ<> <CAB1> ֹͣ<CDA3> <D6B9> <EFBFBD> 䡣
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
TRACE һ <> 㲻<EFBFBD> <E3B2BB> ʹ <EFBFBD> ã<EFBFBD> <C3A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ܵ<EFBFBD> XST <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Cross-Site Tracing<6E> <67> <EFBFBD> <EFBFBD> վ<D5BE> ٣<EFBFBD> <D9A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˸ <EFBFBD> <CBB8> <EFBFBD> <EFBFBD> <EFBFBD> ȥʹ <C8A5> <CAB9> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/ca711108-e937-4d7d-99aa-61b325c61f1a.jpg)
2018-02-22 14:47:54 +08:00
## CONNECT<43> <54> Ҫ<EFBFBD> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> <D0AD> <EFBFBD> <EFBFBD> <EFBFBD> Ӵ<EFBFBD> <D3B4> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> TCP ͨ<> š<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> Ҫʹ <EFBFBD> <EFBFBD> SSL<53> <4C> Secure Sokets Layer<65> <72> <EFBFBD> <EFBFBD> ȫ<EFBFBD> <EFBFBD> <D7BD> ֣<EFBFBD> <D6A3> <EFBFBD> TLS<4C> <53> Transport Layer Security<74> <79> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 㰲ȫ<E3B0B2> <C8AB> Э<EFBFBD> <D0AD> <EFBFBD> <EFBFBD> ͨ<EFBFBD> <CDA8> <EFBFBD> <EFBFBD> <EFBFBD> ݼ<EFBFBD> <DDBC> ܺ<EFBFBD> <DCBA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 䡣
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/d8355d56-aa2b-4452-8001-8475cc095af1.jpg)
2018-02-22 14:47:54 +08:00
# HTTP ״̬<D7B4> <CCAC>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ص<EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> е <EFBFBD> һ <EFBFBD> <EFBFBD> Ϊ״̬<EFBFBD> У <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ״̬<EFBFBD> <EFBFBD> <EFBFBD> Լ<EFBFBD> ԭ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֪<EFBFBD> ͻ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ľ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
| ״̬<D7B4> <CCAC> | <20> <> <EFBFBD> <EFBFBD> | ԭ<> <D4AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
2018-02-20 10:40:05 +08:00
| --- | --- | --- |
2018-02-22 14:47:54 +08:00
| 1XX | Informational<61> <6C> <EFBFBD> <EFBFBD> Ϣ<EFBFBD> <CFA2> ״̬<D7B4> 룩 | <20> <> <EFBFBD> յ<EFBFBD> <D5B5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڴ<EFBFBD> <DAB4> <EFBFBD> |
| 2XX | Success<73> <73> <EFBFBD> ɹ<EFBFBD> ״̬<D7B4> 룩 | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| 3XX | Redirection<6F> <6E> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD> ״̬<D7B4> 룩 | <20> <> Ҫ<EFBFBD> <D2AA> <EFBFBD> и<EFBFBD> <D0B8> Ӳ<EFBFBD> <D3B2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| 4XX | Client Error<6F> <72> <EFBFBD> ͻ<EFBFBD> <CDBB> ˴ <EFBFBD> <CBB4> <EFBFBD> ״̬<D7B4> 룩 | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <DEB7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| 5XX | Server Error<6F> <72> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ״̬<D7B4> 룩 | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## 2XX <20> ɹ<EFBFBD>
2018-02-20 10:40:05 +08:00
**200 OK**
2018-02-22 14:47:54 +08:00
**204 No Content**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ѿ<EFBFBD> <D1BE> ɹ<EFBFBD> <C9B9> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ƿ<EFBFBD> <C7B7> ص<EFBFBD> <D8B5> <EFBFBD> Ӧ<EFBFBD> <D3A6> <EFBFBD> IJ<EFBFBD> <C4B2> <EFBFBD> <EFBFBD> <EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 岿<EFBFBD> ֡<EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> ֻ<EFBFBD> <D6BB> Ҫ<EFBFBD> ӿͻ<D3BF> <CDBB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϣ<EFBFBD> <CFA2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱʹ <CAB1> á<EFBFBD>
2018-02-20 10:40:05 +08:00
**206 Partial Content**
2018-02-22 14:47:54 +08:00
## 3XX <20> ض<EFBFBD> <D8B6> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**301 Moved Permanently**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**302 Found**<2A> <> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD>
2018-02-20 10:40:05 +08:00
**303 See Other**
2018-02-22 14:47:54 +08:00
ע<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ȼ HTTP Э<> <D0AD> <EFBFBD> 涨 301<30> <31> 302 ״̬<D7B4> <CCAC> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> POST <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ij<EFBFBD> GET <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ǵ<EFBFBD> <C7B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 301<30> <31> 302 <20> <> 303 ״̬<D7B4> µ<EFBFBD> <C2B5> ض<EFBFBD> <D8B6> <EFBFBD> <EFBFBD> <EFBFBD> POST <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ij<EFBFBD> GET <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**304 Not Modified**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> <EFBFBD> <EFBFBD> <EFBFBD> һ Щ<D2BB> <D0A9> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 磺If-Match<63> <68> If-ModifiedSince<63> <65> If-None-Match<63> <68> If-Range<67> <65> If-Unmodified-Since<63> <65> <EFBFBD> <EFBFBD> <EFBFBD> Dz<EFBFBD> <C7B2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᷵<EFBFBD> <E1B7B5> 304 ״̬<D7B4> 롣
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**307 Temporary Redirect**<2A> <> <EFBFBD> <EFBFBD> ʱ<EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 302 <20> ĺ<EFBFBD> <C4BA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ƣ<EFBFBD> <C6A3> <EFBFBD> <EFBFBD> <EFBFBD> 307 Ҫ<> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> POST <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ij<EFBFBD> GET <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## 4XX <20> ͻ<EFBFBD> <CDBB> ˴ <EFBFBD> <CBB4> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**400 Bad Request**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> д<EFBFBD> <D0B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFB7A8> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**401 Unauthorized**<2A> <> <EFBFBD> <EFBFBD> ״̬<D7B4> <CCAC> <EFBFBD> <EFBFBD> ʾ <EFBFBD> <CABE> <EFBFBD> ͵<EFBFBD> <CDB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> <D2AA> ͨ<EFBFBD> <CDA8> HTTP <20> <> ֤<EFBFBD> <D6A4> BASIC <20> <> ֤<EFBFBD> <D6A4> DIGEST <20> <> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4> Ϣ<EFBFBD> <CFA2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֮ǰ<D6AE> ѽ<EFBFBD> <D1BD> й<EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʾ <EFBFBD> û<EFBFBD> <C3BB> <EFBFBD> ֤ʧ<D6A4> ܡ<EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/b1b4cf7d-c54a-4ff1-9741-cd2eea331123.jpg)
2018-02-22 14:47:54 +08:00
**403 Forbidden**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> ܾ<F3B1BBBE> <DCBE> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> û<EFBFBD> б <EFBFBD> Ҫ<EFBFBD> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> ܾ<EFBFBD> <DCBE> <EFBFBD> <EFBFBD> <EFBFBD> ϸ<EFBFBD> <CFB8> <EFBFBD> ɡ <EFBFBD>
2018-02-20 10:40:05 +08:00
**404 Not Found**
2018-02-22 14:47:54 +08:00
## 5XX <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**500 Internal Server Error**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ִ<EFBFBD> <D6B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**503 Service Unavilable**<2A> <> <EFBFBD> <EFBFBD> ״̬<D7B4> <CCAC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> ڳ<EFBFBD> <DAB3> <EFBFBD> <EFBFBD> ػ<EFBFBD> <D8BB> <EFBFBD> <EFBFBD> ڽ<EFBFBD> <DABD> <EFBFBD> ͣ<EFBFBD> <CDA3> ά<EFBFBD> <CEAC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <DEB7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
# HTTP<54> ײ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
HTTP <20> <> <EFBFBD> İ<EFBFBD> <C4B0> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֡<EFBFBD> <D6A1> <EFBFBD> 4 <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ͵<EFBFBD> <CDB5> ײ<EFBFBD> <D7B2> ֶΣ<D6B6> ͨ<EFBFBD> <CDA8> <EFBFBD> ײ<EFBFBD> <D7B2> ֶΡ <D6B6> <CEA1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶΡ <D6B6> <CEA1> <EFBFBD> Ӧ<EFBFBD> ײ<EFBFBD> <D7B2> ֶκ<D6B6> ʵ<EFBFBD> <CAB5> <EFBFBD> ײ<EFBFBD> <D7B2> ֶΡ <D6B6> <CEA1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶμ<D6B6> <CEBC> 京<EFBFBD> <E4BAAC> <EFBFBD> <EFBFBD> <EFBFBD> £<EFBFBD> <C2A3> <EFBFBD> <EFBFBD> <EFBFBD> Ҫȫ<D2AA> ǣ<EFBFBD> <C7A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ģ<EFBFBD> <C4A3> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## ͨ<> <CDA8> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
| <20> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> <D6B6> <EFBFBD> | ˵<> <CBB5> |
2018-02-20 10:40:05 +08:00
| -- | -- |
2018-02-22 14:47:54 +08:00
| Cache-Control | <20> <> <EFBFBD> ƻ<EFBFBD> <C6BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϊ |
| Connection | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> <EFBFBD> <20> <> <EFBFBD> ӵĹ<D3B5> <C4B9> <EFBFBD> |
| Date | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ĵ<EFBFBD> <C4B5> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> |
| Pragma | <20> <> <EFBFBD> <EFBFBD> ָ<EFBFBD> <D6B8> |
| Trailer | <20> <> <EFBFBD> <EFBFBD> ĩ<EFBFBD> ˵<EFBFBD> <CBB5> ײ<EFBFBD> һ <EFBFBD> <D2BB> |
| Transfer-Encoding | ָ<> <D6B8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ĵ<EFBFBD> <C4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 뷽ʽ |
| Upgrade | <20> <> <EFBFBD> <EFBFBD> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> Э<EFBFBD> <D0AD> |
| Via | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϣ |
| Warning | <20> <> <EFBFBD> <EFBFBD> ֪ͨ |
## <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD>
| <20> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> <D6B6> <EFBFBD> | ˵<> <CBB5> |
2018-02-20 10:40:05 +08:00
| -- | -- |
2018-02-22 14:47:54 +08:00
| Accept | <20> û<EFBFBD> <C3BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ɴ<EFBFBD> <C9B4> <EFBFBD> <EFBFBD> <EFBFBD> ý<EFBFBD> <C3BD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| Accept-Charset | <20> <> <EFBFBD> ȵ<EFBFBD> <C8B5> ַ<EFBFBD> <D6B7> <EFBFBD> |
| Accept-Encoding | <20> <> <EFBFBD> ȵ<EFBFBD> <C8B5> <EFBFBD> <EFBFBD> ݱ<EFBFBD> <DDB1> <EFBFBD> |
| Accept-Language | <20> <> <EFBFBD> ȵ<EFBFBD> <C8B5> <EFBFBD> <EFBFBD> ԣ<EFBFBD> <D4A3> <EFBFBD> Ȼ<EFBFBD> <C8BB> <EFBFBD> ԣ<EFBFBD> |
| Authorization | Web<65> <62> ֤<EFBFBD> <D6A4> Ϣ |
| Expect | <20> ڴ<EFBFBD> <DAB4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD> Ϊ |
| From | <20> û<EFBFBD> <C3BB> ĵ<EFBFBD> <C4B5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ַ |
| Host | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> ڷ<EFBFBD> <DAB7> <EFBFBD> <EFBFBD> <EFBFBD> |
| If-Match | <20> Ƚ<EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> ǣ<EFBFBD> ETag<61> <67> |
| If-Modified-Since | <20> Ƚ<EFBFBD> <C8BD> <EFBFBD> Դ<EFBFBD> ĸ<EFBFBD> <C4B8> <EFBFBD> ʱ<EFBFBD> <CAB1> |
| If-None-Match | <20> Ƚ<EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> ǣ<EFBFBD> <C7A3> <EFBFBD> If-Match <20> ෴<EFBFBD> <E0B7B4> |
| If-Range | <20> <> Դδ<D4B4> <CEB4> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> ʵ<EFBFBD> <CAB5> Byte <20> ķ<EFBFBD> Χ <EFBFBD> <CEA7> <EFBFBD> <EFBFBD> |
| If-Unmodified-Since | <20> Ƚ<EFBFBD> <C8BD> <EFBFBD> Դ<EFBFBD> ĸ<EFBFBD> <C4B8> <EFBFBD> ʱ<EFBFBD> 䣨<EFBFBD> <E4A3A8> If-Modified-Since<63> ෴<EFBFBD> <E0B7B4> |
| Max-Forwards | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| Proxy-Authorization | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> <D2AA> <EFBFBD> ͻ<EFBFBD> <CDBB> ˵<EFBFBD> <CBB5> <EFBFBD> ֤<EFBFBD> <D6A4> Ϣ |
| Range | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> ֽڷ<D6BD> Χ <EFBFBD> <CEA7> <EFBFBD> <EFBFBD> |
| Referer | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URI <20> <> ԭʼ <D4AD> <CABC> ȡ<EFBFBD> <C8A1> |
| TE | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȼ<EFBFBD> |
| User-Agent | HTTP <20> ͻ<EFBFBD> <CDBB> ˳<EFBFBD> <CBB3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϣ |
## <20> <> Ӧ<EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD>
| <20> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> <D6B6> <EFBFBD> | ˵<> <CBB5> |
2018-02-20 10:40:05 +08:00
| -- | -- |
2018-02-22 14:47:54 +08:00
| Accept-Ranges | <20> Ƿ<EFBFBD> <C7B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֽڷ<D6BD> Χ <EFBFBD> <CEA7> <EFBFBD> <EFBFBD> |
| Age | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> |
| ETag | <20> <> Դ<EFBFBD> <D4B4> ƥ<EFBFBD> <C6A5> <EFBFBD> <EFBFBD> Ϣ |
| Location | <20> <> <EFBFBD> ͻ<EFBFBD> <CDBB> <EFBFBD> <EFBFBD> ض<EFBFBD> <D8B6> <EFBFBD> <EFBFBD> <EFBFBD> ָ<EFBFBD> <D6B8> URI |
| Proxy-Authenticate | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կͻ<D4BF> <CDBB> ˵<EFBFBD> <CBB5> <EFBFBD> ֤<EFBFBD> <D6A4> Ϣ |
| Retry-After | <20> <> <EFBFBD> ٴη<D9B4> <CEB7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> Ҫ<EFBFBD> <D2AA> |
| Server | HTTP<54> <50> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> İ<EFBFBD> װ<EFBFBD> <D7B0> Ϣ |
| Vary | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ĺ<EFBFBD> <C4B9> <EFBFBD> <EFBFBD> <EFBFBD> Ϣ |
| WWW-Authenticate | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կͻ<D4BF> <CDBB> ˵<EFBFBD> <CBB5> <EFBFBD> ֤<EFBFBD> <D6A4> Ϣ |
## ʵ<> <CAB5> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD>
| <20> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> <D6B6> <EFBFBD> | ˵<> <CBB5> |
2018-02-20 10:40:05 +08:00
| -- | -- |
2018-02-22 14:47:54 +08:00
| Allow | <20> <> Դ<EFBFBD> <D4B4> ֧<EFBFBD> ֵ<EFBFBD> HTTP<54> <50> <EFBFBD> <EFBFBD> |
| Content-Encoding | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> õı <C3B5> <C4B1> 뷽ʽ |
| Content-Language | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ȼ<EFBFBD> <C8BB> <EFBFBD> <EFBFBD> |
| Content-Length | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ĵ<EFBFBD> С <EFBFBD> <D0A1> <EFBFBD> <EFBFBD> λ<EFBFBD> <CEBB> <20> ֽڣ<D6BD> |
| Content-Location | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <D3A6> Դ<EFBFBD> <D4B4> URI |
| Content-MD5 | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ı <EFBFBD> <C4B1> <EFBFBD> ժҪ |
| Content-Range | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> λ<EFBFBD> ÷<EFBFBD> Χ |
| Content-Type | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ý<EFBFBD> <C3BD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| Expires | ʵ<> <CAB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڵ<EFBFBD> <DAB5> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> |
| Last-Modified | <20> <> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <DEB8> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> |
# <20> <> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <D3A6>
2018-02-20 10:40:05 +08:00
## Cookie
2018-02-22 14:47:54 +08:00
HTTP Э<> <D0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ״̬<D7B4> ģ<EFBFBD> <C4A3> <EFBFBD> Ҫ<EFBFBD> <D2AA> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> HTTP Э<> 龡<EFBFBD> <E9BEA1> <EFBFBD> ܼ<DCBC> ʹ <EFBFBD> <CAB9> <EFBFBD> <EFBFBD> <EFBFBD> ܹ<EFBFBD> <DCB9> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> HTTP/1.1 <20> <> <EFBFBD> <EFBFBD> Cookie <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ״̬<D7B4> <CCAC> Ϣ<EFBFBD> <CFA2>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ᷢ<EFBFBD> ͵<EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <EFBFBD> <EFBFBD> İ<EFBFBD> <EFBFBD> <EFBFBD> Set-Cookie <20> ֶΣ<D6B6> <CEA3> ͻ<EFBFBD> <CDBB> ˵õ<CBB5> <C3B5> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <D3A6> <EFBFBD> <EFBFBD> Cookie <20> <> <EFBFBD> ݱ<EFBFBD> <DDB1> 浽<EFBFBD> <E6B5BD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> С <EFBFBD> <D0A1> ´ <EFBFBD> <C2B4> ٷ<EFBFBD> <D9B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ж<EFBFBD> <D0B6> <EFBFBD> Cookie ֵ<> <D6B5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> а <EFBFBD> <D0B0> <EFBFBD> Cookie <20> ֶΣ<D6B6> <CEA3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֪<EFBFBD> <D6AA> <EFBFBD> ͻ<EFBFBD> <CDBB> ˵<EFBFBD> ״̬<D7B4> <CCAC> Ϣ<EFBFBD> ˡ<EFBFBD> Cookie ״̬<D7B4> <CCAC> Ϣ<EFBFBD> <CFA2> <EFBFBD> <EFBFBD> <EFBFBD> ڿͻ<DABF> <CDBB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> У <EFBFBD> <D0A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ƿ<EFBFBD> <C7B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ϡ<EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/ff17c103-750a-4bb8-9afa-576327023af9.png)
2018-02-22 14:47:54 +08:00
Set-Cookie <20> ֶ<EFBFBD> <D6B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ԣ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
| <20> <> <EFBFBD> <EFBFBD> | ˵<> <CBB5> |
2018-02-20 10:40:05 +08:00
| -- | -- |
2018-02-22 14:47:54 +08:00
| NAME=VALUE | <20> <> <EFBFBD> <EFBFBD> Cookie <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ƺ<EFBFBD> <C6BA> <EFBFBD> ֵ<EFBFBD> <D6B5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| expires=DATE | Cookie <20> <> <EFBFBD> <EFBFBD> Ч<EFBFBD> ڣ<EFBFBD> <DAA3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȷָ<C8B7> <D6B8> <EFBFBD> <EFBFBD> Ĭ<EFBFBD> <C4AC> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ر<EFBFBD> ǰΪֹ<CEAA> <D6B9> |
| path=PATH | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ϵ<EFBFBD> <CFB5> ļ<EFBFBD> Ŀ¼<C4BF> <C2BC> Ϊ Cookie <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ö<EFBFBD> <C3B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ָ<EFBFBD> <D6B8> <EFBFBD> <EFBFBD> Ĭ<EFBFBD> <C4AC> Ϊ<EFBFBD> ĵ<EFBFBD> <C4B5> <EFBFBD> <EFBFBD> ڵ<EFBFBD> <DAB5> ļ<EFBFBD> Ŀ¼<C4BF> <C2BC> |
| domain=<3D> <> <EFBFBD> <EFBFBD> | <20> <> Ϊ Cookie <20> <> <EFBFBD> ö<EFBFBD> <C3B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ָ<EFBFBD> <D6B8> <EFBFBD> <EFBFBD> Ĭ<EFBFBD> <C4AC> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> Cookie <20> ķ<EFBFBD> <C4B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> |
| Secure | <20> <> <EFBFBD> <EFBFBD> HTTPS <20> <> ȫͨ<C8AB> <CDA8> ʱ<EFBFBD> Żᷢ<C5BB> <E1B7A2> Cookie |
| HttpOnly | <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ƣ<EFBFBD> ʹ Cookie <20> <> <EFBFBD> ܱ<EFBFBD> JavaScript <20> ű<EFBFBD> <C5B1> <EFBFBD> <EFBFBD> <EFBFBD> |
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**Session <20> <> Cookie <20> <> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
Session <20> Ƿ<EFBFBD> <C7B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> û<EFBFBD> <C3BB> <EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> ֶΣ<D6B6> ÿ<EFBFBD> <C3BF> Session <20> <> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> Ψһ <CEA8> <D2BB> ʶ<EFBFBD> <CAB6> Session ID<49> <44> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> Session ʱ<> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> ͻ<EFBFBD> <CDBB> ˷<EFBFBD> <CBB7> ͵<EFBFBD> <CDB5> <EFBFBD> Ӧ<EFBFBD> <D3A6> <EFBFBD> ľͰ<C4BE> <CDB0> <EFBFBD> <EFBFBD> <EFBFBD> Set-Cookie <20> ֶΣ<D6B6> <CEA3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> Ϊ sid <20> ļ<EFBFBD> ֵ<EFBFBD> ԣ<EFBFBD> <D4A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֵ<EFBFBD> Ծ<EFBFBD> <D4BE> <EFBFBD> Session ID<49> <44> <EFBFBD> ͻ<EFBFBD> <CDBB> <EFBFBD> <EFBFBD> յ<EFBFBD> <D5B5> <EFBFBD> <EFBFBD> Ͱ<EFBFBD> Cookie <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> У <EFBFBD> <D0A3> <EFBFBD> <EFBFBD> <EFBFBD> ֮<EFBFBD> <D6AE> <EFBFBD> <EFBFBD> <EFBFBD> ͵<EFBFBD> <CDB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ķ<EFBFBD> <C4B6> <EFBFBD> <EFBFBD> <EFBFBD> Session ID<49> <44> HTTP <20> <> <EFBFBD> <EFBFBD> Session <20> <> Cookie <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ַ<EFBFBD> ʽ һ <CABD> <D2BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʵ<EFBFBD> ָ<EFBFBD> <D6B8> <EFBFBD> <EFBFBD> û<EFBFBD> ״̬<D7B4> ģ<EFBFBD> <C4A3> <EFBFBD> Session <20> <> <EFBFBD> ڷ<EFBFBD> <DAB7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˣ<EFBFBD> Cookie <20> <> <EFBFBD> ڿͻ<DABF> <CDBB> ˡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**<2A> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Cookie <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> ʹ <EFBFBD> <EFBFBD> URL <20> <> д<EFBFBD> <D0B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> URL <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> sid=xxx <20> <>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**ʹ <> <CAB9> Cookie ʵ<> <CAB5> <EFBFBD> û<EFBFBD> <C3BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Զ<EFBFBD> <D4B6> <EFBFBD> д**
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> վ<EFBFBD> ű<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Զ<EFBFBD> <EFBFBD> <EFBFBD> Cookie <20> ж<EFBFBD> ȡ<EFBFBD> û<EFBFBD> <C3BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 룬<EFBFBD> Ӷ<EFBFBD> ʵ<EFBFBD> <CAB5> <EFBFBD> Զ<EFBFBD> <D4B6> <EFBFBD> д<EFBFBD> <D0B4>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֻ<EFBFBD> <EFBFBD> 淽<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ô<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> л<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ÿͻ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> л<EFBFBD> <EFBFBD> 档
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
Cache-Control <20> <> <EFBFBD> ڿ<EFBFBD> <DABF> ƻ<EFBFBD> <C6BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ϊ<EFBFBD> <CEAA>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
Cache-Control: no-cache <20> <> <EFBFBD> <EFBFBD> <EFBFBD> ֺ<EFBFBD> <D6BA> 壬<EFBFBD> <E5A3AC> <EFBFBD> <EFBFBD> <EFBFBD> ǿͻ<C7BF> <CDBB> <EFBFBD> <EFBFBD> <EFBFBD> <F2BBBAB4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͵<EFBFBD> <CDB5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> к<EFBFBD> <D0BA> и<EFBFBD> ָ<EFBFBD> <EFBFBD> <EEA3AC> ʾ <EFBFBD> ͻ<EFBFBD> <CDBB> ˲<EFBFBD> <CBB2> <EFBFBD> Ҫ<EFBFBD> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <F2BBBAB4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͵<EFBFBD> <CDB5> <EFBFBD> Ӧ<EFBFBD> <D3A6> <EFBFBD> <EFBFBD> <EFBFBD> к<EFBFBD> <D0BA> и<EFBFBD> ָ<EFBFBD> <EFBFBD> <EEA3AC> ʾ <EFBFBD> <CABE> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ܶ<EFBFBD> <DCB6> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> л<EFBFBD> <D0BB> 档
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
Expires <20> ֶο <D6B6> <CEBF> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڸ<EFBFBD> ֪<EFBFBD> <D6AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Դʲôʱ<C3B4> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڡ<EFBFBD> <DAA1> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> Cache-Control <20> <> ָ<EFBFBD> <D6B8> max-age ָ<> <D6B8> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶ<EFBFBD> Expires<65> <73> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȴ<EFBFBD> <C8B4> <EFBFBD> max-age ָ<>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> ־<EFBFBD> <D6BE> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͼƬ<EFBFBD> <EFBFBD> HTML ҳ<> <D2B3> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> HTML ҳ<> <D2B3> <EFBFBD> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͼƬ<CDBC> <C6AC> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ÿ<EFBFBD> <C3BF> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> HTTP ͨ<> ž<EFBFBD> Ҫ<EFBFBD> Ͽ<EFBFBD> һ <EFBFBD> <D2BB> TCP <20> <> <EFBFBD> ӣ<EFBFBD> <D3A3> <EFBFBD> <EFBFBD> ӽ<EFBFBD> <D3BD> <EFBFBD> <EFBFBD> ͶϿ<CDB6> <CFBF> Ŀ<EFBFBD> <C4BF> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ܴ<EFBFBD> <DCB4> <EFBFBD> **<2A> ־<EFBFBD> <D6BE> <EFBFBD> <EFBFBD> <EFBFBD> ** ֻ<> <D6BB> Ҫ<EFBFBD> <D2AA> <EFBFBD> <EFBFBD> һ <EFBFBD> <D2BB> TCP <20> <> <EFBFBD> Ӿ<EFBFBD> <D3BE> ܽ<EFBFBD> <DCBD> ж<EFBFBD> <D0B6> <EFBFBD> HTTP ͨ<> š<EFBFBD> HTTP/1.1<EFBFBD> <EFBFBD> ʼ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> е <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ĭ<EFBFBD> ϶<EFBFBD> <EFBFBD> dz־<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ӡ<EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/c73a0b78-5f46-4d2d-a009-dab2a999b5d8.jpg)
2018-02-22 14:47:54 +08:00
<EFBFBD> ־<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫʹ <EFBFBD> <EFBFBD> Connection <20> ײ<EFBFBD> <D7B2> ֶν <D6B6> <CEBD> й<EFBFBD> <D0B9> <EFBFBD> <EFBFBD> <EFBFBD> HTTP/1.1 <20> <> ʼ HTTP Ĭ<> <C4AC> <EFBFBD> dz־û<D6BE> <C3BB> <EFBFBD> <EFBFBD> ӵģ<D3B5> <C4A3> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> Ͽ<EFBFBD> TCP <20> <> <EFBFBD> ӣ<EFBFBD> <D3A3> <EFBFBD> Ҫ<EFBFBD> ɿͻ<C9BF> <CDBB> ˻<EFBFBD> <CBBB> ߷<EFBFBD> <DFB7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ͽ<EFBFBD> <CFBF> <EFBFBD> ʹ <EFBFBD> <CAB9> Connection: close <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> HTTP/1.1֮ǰĬ<EFBFBD> <EFBFBD> <EFBFBD> Ƿdz־û<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ӵģ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫά<EFBFBD> ֳ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ӣ<EFBFBD> <EFBFBD> <EFBFBD> Ҫʹ <EFBFBD> <EFBFBD> Keep-Alive<76> <65>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʽ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͬʱ<EFBFBD> <EFBFBD> <EFBFBD> Ͷ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӧ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ȼ<EFBFBD> <EFBFBD> <EFBFBD> ȴ<EFBFBD> <EFBFBD> <EFBFBD> Ӧ֮<EFBFBD> <EFBFBD> <EFBFBD> ٷ<EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/6943e2af-5a70-4004-8bee-b33d60f39da3.jpg)
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> 루Encoding<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> <EFBFBD> Ϊ<EFBFBD> ˶<EFBFBD> ʵ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ѹ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> õı <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> У <EFBFBD> gzip<EFBFBD> <EFBFBD> compress<EFBFBD> <EFBFBD> deflate<EFBFBD> <EFBFBD> identity<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> identity <20> <> ʾ <EFBFBD> <CABE> ִ<EFBFBD> <D6B4> ѹ<EFBFBD> <D1B9> <EFBFBD> ı <EFBFBD> <C4B1> <EFBFBD> <EFBFBD> <EFBFBD> ʽ <EFBFBD> <CABD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> ֿ鴫<D6BF> <E9B4AB>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> ֿ鴫<EFBFBD> 䣨Chunked Transfer Coding<6E> <67> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <D4B0> <EFBFBD> <EFBFBD> ݷָ<DDB7> <D6B8> ɶ<EFBFBD> <C9B6> 飬<EFBFBD> <E9A3AC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʾ ҳ<CABE> 档
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> ಿ<EFBFBD> ֶ<EFBFBD> <D6B6> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
һ <EFBFBD> ݱ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڿɺ<EFBFBD> <EFBFBD> ж<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͵<EFBFBD> ʵ<EFBFBD> <EFBFBD> ͬʱ<EFBFBD> <EFBFBD> <EFBFBD> ͣ<EFBFBD> ÿ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֮<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> boundary <20> ֶζ<D6B6> <CEB6> <EFBFBD> <EFBFBD> ķָ<C4B7> <D6B8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> зָ<D0B7> <D6B8> <EFBFBD> ÿ<EFBFBD> <C3BF> <EFBFBD> <EFBFBD> <EFBFBD> ֶ<EFBFBD> <D6B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <D7B2> ֶΡ <D6B6>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> 磬<EFBFBD> ϴ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ·<EFBFBD> ʽ <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/decb0936-e83c-4a55-840a-fe8aa101ac61.png)
2018-02-22 14:47:54 +08:00
## <20> <> Χ <EFBFBD> <CEA7> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> жϣ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֻ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݣ<EFBFBD> <EFBFBD> <EFBFBD> Χ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> ÿͻ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ܹ<EFBFBD> ֻ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> δ<EFBFBD> <EFBFBD> <EFBFBD> ͵<EFBFBD> <EFBFBD> Dz<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݣ<EFBFBD> <EFBFBD> Ӷ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ·<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Range <20> ֶΣ<D6B6> Ȼ<EFBFBD> <C8BB> ָ<EFBFBD> <D6B8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ķ<EFBFBD> Χ <EFBFBD> <CEA7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Range : bytes = 5001-10000<30> <30> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ɹ<EFBFBD> <C9B9> Ļ<EFBFBD> <C4BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 206 Partial Content ״̬<D7B4> <CCAC>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD> Э<EFBFBD> <D0AD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
ͨ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> ̷<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʵ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݣ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ĭ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ѡ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ľ<EFBFBD> <EFBFBD> 滹<EFBFBD> <EFBFBD> Ӣ<EFBFBD> Ľ<EFBFBD> <EFBFBD> 档
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> 漰<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ײ<EFBFBD> <EFBFBD> ֶΣ<EFBFBD> Accept<EFBFBD> <EFBFBD> Accept-Charset<65> <74> Accept-Encoding<6E> <67> Accept-Language<67> <65> Content-Language<67> <65>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
ʹ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> <EFBFBD> һ ̨<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ӵ<EFBFBD> ж<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ͽ<EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> ɶ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## ͨ<> <CDA8> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ת<EFBFBD> <D7AA>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
**<2A> <> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ܿͻ<EFBFBD> <EFBFBD> ˵<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ת<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> һ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ģ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ı <EFBFBD> URL<52> <4C>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
ʹ <EFBFBD> ô<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ҪĿ<EFBFBD> <EFBFBD> <EFBFBD> ǣ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 桢<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʿ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Լ<EFBFBD> <EFBFBD> <EFBFBD> ¼<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ־<EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/c07035c3-a9ba-4508-8e3c-d8ae4c6ee9ee.jpg)
2018-02-22 14:47:54 +08:00
**<2A> <> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͬ<EFBFBD> <EFBFBD> <EFBFBD> ǣ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ط<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ὣ HTTP ת<> <D7AA> Ϊ<EFBFBD> <CEAA> <EFBFBD> <EFBFBD> Э<EFBFBD> <D0AD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͨ<EFBFBD> ţ<EFBFBD> <C5A3> Ӷ<EFBFBD> <D3B6> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> HTTP <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ķ<EFBFBD> <C4B7> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/81375888-6be1-476f-9521-42eea3e3154f.jpg)
2018-02-22 14:47:54 +08:00
**<2A> <> <EFBFBD> <EFBFBD> **
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
ʹ <EFBFBD> <EFBFBD> SSL <20> ȼ<EFBFBD> <C8BC> <EFBFBD> <EFBFBD> ֶΣ<D6B6> Ϊ<EFBFBD> ͻ<EFBFBD> <CDBB> ˺ͷ<CBBA> <CDB7> <EFBFBD> <EFBFBD> <EFBFBD> ֮<EFBFBD> 佨<EFBFBD> <E4BDA8> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> ȫ<EFBFBD> <C8AB> ͨ<EFBFBD> <CDA8> <EFBFBD> <EFBFBD> ·<EFBFBD> <C2B7>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/64b95403-d976-421a-8b45-bac89c0b5185.jpg)
# HTTPs
2018-02-22 14:47:54 +08:00
HTTP <20> <> <EFBFBD> <EFBFBD> <EFBFBD> °<EFBFBD> ȫ<EFBFBD> <C8AB> <EFBFBD> <EFBFBD> <EFBFBD> ⣺
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
1. ͨ<> <CDA8> ʹ <EFBFBD> <CAB9> <EFBFBD> <EFBFBD> <EFBFBD> ģ<EFBFBD> <C4A3> <EFBFBD> <EFBFBD> ݿ<EFBFBD> <DDBF> ܻᱻ<DCBB> <E1B1BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2. <20> <> <EFBFBD> <EFBFBD> ֤ͨ<D6A4> ŷ<EFBFBD> <C5B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݣ<EFBFBD> <DDA3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> п<EFBFBD> <D0BF> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> α װ<CEB1> <D7B0>
3. <20> <EFBFBD> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> ĵ<EFBFBD> <C4B5> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ԣ<EFBFBD> <D4A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> п<EFBFBD> <D0BF> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ۸ġ<DBB8>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
HTTPs <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Э<EFBFBD> 飬<EFBFBD> <E9A3AC> <EFBFBD> <EFBFBD> HTTP <20> Ⱥ<EFBFBD> SSL<53> <4C> Secure Socket Layer<65> <72> ͨ<EFBFBD> ţ<EFBFBD> <C5A3> <EFBFBD> <EFBFBD> <EFBFBD> SSL <20> <> TCP ͨ<> š<EFBFBD> ͨ<EFBFBD> <CDA8> ʹ <EFBFBD> <CAB9> SSL<53> <4C> HTTPs <20> ṩ<EFBFBD> ˼<EFBFBD> <CBBC> ܡ<EFBFBD> <DCA1> <EFBFBD> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ա<EFBFBD> <D4B1> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ּ<EFBFBD> <EFBFBD> ܷ<EFBFBD> ʽ <EFBFBD> <EFBFBD> <EFBFBD> Գ<EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ܺ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ܡ<EFBFBD> <EFBFBD> Գ<EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ܵļ<EFBFBD> <EFBFBD> ܺͽ<EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> <EFBFBD> ͬһ <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> <EFBFBD> һ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ڼ<EFBFBD> <EFBFBD> ܺͽ<EFBFBD> <EFBFBD> ܣ<EFBFBD> <EFBFBD> ֱ<EFBFBD> Ϊ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> ˽<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˶<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ի<EFBFBD> <EFBFBD> ã<EFBFBD> ͨ<EFBFBD> ŷ<EFBFBD> <EFBFBD> ͷ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ý<EFBFBD> <EFBFBD> շ<EFBFBD> <EFBFBD> Ĺ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ֮<EFBFBD> Ϳ <EFBFBD> <EFBFBD> <EFBFBD> ʹ <EFBFBD> ù<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> м<EFBFBD> <EFBFBD> ܣ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> շ<EFBFBD> <EFBFBD> յ<EFBFBD> ͨ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ݺ<EFBFBD> ʹ <EFBFBD> <EFBFBD> ˽<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ܡ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> Գ<EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ܵ<EFBFBD> ȱ<EFBFBD> 㣺<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȫ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <EFBFBD> <EFBFBD> ܵ<EFBFBD> ȱ<EFBFBD> 㣺<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ˵<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
HTTPs <20> <> <EFBFBD> <EFBFBD> ** <EFBFBD> <EFBFBD> <EFBFBD> ϵļ<EFBFBD> <EFBFBD> ܻ<EFBFBD> <EFBFBD> <EFBFBD> **<2A> <> ʹ <EFBFBD> ù<EFBFBD> <C3B9> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <D4BF> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڴ<EFBFBD> <DAB4> <EFBFBD> <EFBFBD> Գ<EFBFBD> <D4B3> <EFBFBD> Կ<EFBFBD> <D4BF> ֮<EFBFBD> <D6AE> ʹ <EFBFBD> öԳ<C3B6> <D4B3> <EFBFBD> Կ<EFBFBD> <D4BF> <EFBFBD> ܽ<EFBFBD> <DCBD> <EFBFBD> ͨ<EFBFBD> š<EFBFBD> <C5A1> <EFBFBD> <EFBFBD> <EFBFBD> ͼ<EFBFBD> У <EFBFBD> <D0A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <D4BF> <EFBFBD> Գ<EFBFBD> <D4B3> <EFBFBD> Կ<EFBFBD> <D4BF>
2018-02-20 10:40:05 +08:00
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics/110b1a9b-87cd-45c3-a21d-824623715b33.jpg)
2018-02-22 14:47:54 +08:00
## <20> <> ֤
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
ͨ<EFBFBD> <EFBFBD> ʹ <EFBFBD> <EFBFBD> **֤<> <D6A4> ** <20> <> <EFBFBD> <EFBFBD> ͨ<EFBFBD> ŷ<EFBFBD> <C5B7> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> й<EFBFBD> <D0B9> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <D4BF> <EFBFBD> ݣ<EFBFBD> <DDA3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ<EFBFBD> <D4BF> ȷ<EFBFBD> <C8B7> <EFBFBD> <EFBFBD> ͨ<EFBFBD> ŷ<EFBFBD> <C5B7> ģ<EFBFBD> <C4A3> <EFBFBD> ô<EFBFBD> Ϳ <EFBFBD> <CDBF> <EFBFBD> ȷ<EFBFBD> <C8B7> ͨ<EFBFBD> ŷ<EFBFBD> <C5B7> ǿɿ<C7BF> <C9BF> ġ<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> CA<EFBFBD> <EFBFBD> Certificate
Authority<EFBFBD> <EFBFBD> <EFBFBD> ䷢<EFBFBD> Ĺ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Կ֤<EFBFBD> 飬<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͨ<EFBFBD> <EFBFBD> CA <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> HTTPs ͨ<> <CDA8> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> 鷢<EFBFBD> <EFBFBD> <CDB8> ͻ<EFBFBD> <CDBB> ˣ<EFBFBD> <CBA3> ͻ<EFBFBD> <CDBB> <EFBFBD> ȡ<EFBFBD> <C8A1> <EFBFBD> <EFBFBD> <EFBFBD> е Ĺ<D0B5> <C4B9> <EFBFBD> <EFBFBD> <EFBFBD> Կ֮<D4BF> Ϳ <F3A3ACBE> <CDBF> Կ<EFBFBD> ʼ <EFBFBD> <CABC> <EFBFBD> ܹ<EFBFBD> <DCB9> ̡<EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
ʹ <EFBFBD> <EFBFBD> OpenSSL <20> <> <EFBFBD> <EFBFBD> Դ<EFBFBD> <D4B4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ÿ<EFBFBD> <C3BF> <EFBFBD> ˶<EFBFBD> <CBB6> <EFBFBD> <EFBFBD> Թ<EFBFBD> <D4B9> <EFBFBD> һ <EFBFBD> <D2BB> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Լ<EFBFBD> <D4BC> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ӷ<EFBFBD> <D3B6> Լ<EFBFBD> <D4BC> <EFBFBD> <EFBFBD> Լ<EFBFBD> <D4BC> ䷢<EFBFBD> <E4B7A2> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> 顣<EFBFBD> <E9A1A3> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ڷ<EFBFBD> <DAB7> ʸ÷<CAB8> <C3B7> <EFBFBD> <EFBFBD> <EFBFBD> ʱ<EFBFBD> <CAB1> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ʾ <EFBFBD> <CABE> <EFBFBD> <EFBFBD> ȷ<EFBFBD> <C8B7> <EFBFBD> <EFBFBD> <EFBFBD> Ӱ<EFBFBD> ȫ<EFBFBD> ԡ<EFBFBD> <D4A1> <EFBFBD> <F2A1B0B8> <EFBFBD> վ<EFBFBD> İ<EFBFBD> ȫ֤<C8AB> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ⡱<EFBFBD> Ⱦ<EFBFBD> <C8BE> <EFBFBD> <EFBFBD> <EFBFBD> Ϣ<EFBFBD> <CFA2>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
<EFBFBD> ͻ<EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> û<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> а <EFBFBD> װ<EFBFBD> <EFBFBD> ֻ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ҵ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ҫ<EFBFBD> dz<EFBFBD> <EFBFBD> ߰<EFBFBD> ȫ<EFBFBD> <EFBFBD> ʱ<EFBFBD> <EFBFBD> ʹ <EFBFBD> ÿͻ<EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> 飬<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> С <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
## <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
2018-02-20 10:40:05 +08:00
2018-02-22 14:47:54 +08:00
SSL <20> ṩժҪ<D5AA> <D2AA> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ֤<EFBFBD> <D6A4> <EFBFBD> <EFBFBD> <EFBFBD> ԡ<EFBFBD>
2018-02-20 10:40:05 +08:00