Ver código fonte

more on requests

master
Anthony Fadly 1 ano atrás
pai
commit
26ebcf96f2
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3
    2
      november/nov26.md

+ 3
- 2
november/nov26.md Ver arquivo

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


Carregando…
Cancelar
Salvar