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


  • Uses TCP as its underlying transport protocol. So HTTP doesn’t need to worry about data integrity - handled by TCP
  • Allow transfer any types of Network Object

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

Python HTTP Server

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

Cons


Bandwidth Demanding

Slow Start

References