Share Page - mdmuidulalam/Journal-Practice GitHub Wiki

Please copy this page. This will be removed.

Points

  • How web works
  • Basic protocols TCP-UDP-HTTP
  • Request Headers
  • How browser works

Questions

How the web works

Mozilla Ans Client-Server Request Response Internet TCP/IP or UDP DNS HTTP** Component files

Client -> Home Server -> Shop TCP/IP -> Delivery System HTTP -> Ordering System DNS -> Shops address book Component files -> My products how we will organize this

Application (HTTP, FTP, SMTP) -> Trnsport(TCP, UDP) -> Network(IP) -> Link -> Physical

How TCP/IP

Connection 3-way handshake. Data Send and acknowledgment. Retransmit data. (Transport) It is the delivery system of data. It divides the data it gets from the application layer into packets and add a header (Sequence Number, Port Number) with each packet.

(Network) In IP which is network layer protocol, add Destination and Source Address to each packet (Header for Network layer). Then Network access header.

UDP

No connection. Packet loss.

DNS Server

It is like an address book. We get the exact IP address for the domain name.

How HTTP works

  • Stateless: Every transection in http is independent.

  • Headers: Sent information about the request. -- Status Code -- Request Method -- Authorization -- Content Type -- cache-control