Browse Source

more on requests

master
Anthony Fadly 11 months ago
parent
commit
26ebcf96f2
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      november/nov26.md

+ 3
- 2
november/nov26.md View File

@@ -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)


Loading…
Cancel
Save