Abstract


User Authentication

Server doesn’t know if Client login before or not, client needs to include things like Cookies in HTTP Headers to show it is authenticated

Bandwidth Demanding

Bloated HTTP Headers is included in both HTTP Request & HTTP Response.

Python HTTP Server

You can spin up a HTTP Server using python3 -m http.server <PORT_NUMBER> easily.

HTTP Mechanism

  1. Client initiates a TCP Connection with the Server
  2. Client and server access TCP through their Network Domain Socket
  3. Both client and server send/receive HTTP Request/HTTP Response from the socket interface

References