浏览代码

more on requests

master
Anthony Fadly 1年前
父节点
当前提交
26ebcf96f2
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      november/nov26.md

+ 3
- 2
november/nov26.md 查看文件

@@ -38,14 +38,15 @@ Browser "get document A" <-> Server "Here's document A"
### Request

- Header
- Request Line "<verb> <subject> HTTP/1.1"
- Request Line "verb subject HTTP/1.1" (verb can be GET, HEAD, PUT)
- Host: www.example.com
- Blank Line
- Optional Body

### Response

- Header
- Status Line (like request line) "status 200 OK"
- Status Line (like request line) "HTTP/1.1 200 OK"
- Blank Line
- Optional Body (with document)


正在加载...
取消
保存