Author: Tran Tuan Quy
Date: July 7, 2014
Updated: Jan 1, 2018
Basic Concepts
HTTP Message
Web Authentication
Resource
Recap
HTTP, FTP, SMTP
HyperText Transfer Protocol
Current version: 1.1
Next Version: 2.0
http://http2.github.io/http2-spec/index.html
Use TCP, not UDP
HTTPS stand for HyperText Transfer Protocol Secure
HTTP Request
HTTP Response
GET
POST
PUT
DELETE
HEAD
OPTIONS
TRACE
CONNECT
Host
Content-Type
Cookies
Expires
User-Agent
Authorization
user:abc@gmail.com&pass=123456
Related Header:
1xx: Informational:
2xx: Successful
3xx: Redirection
4xx: Client Error
5xx: Server Error
Content-Type
Content-Length
Content-Encoding
Set-Cookies
Server