Skip to content

Latest commit

 

History

History
64 lines (55 loc) · 1.94 KB

day17.md

File metadata and controls

64 lines (55 loc) · 1.94 KB

HTTP (Hyper Text Transfer Protocol)

  • With the help of these protocol information or data of particular website is exchanged between web server and web browser.
  • HTTP is stateless protocol.
  • HTTP is client - server protocol.
  • Request sent by one entity, the user agent (or proxy)
  • Most of the time User Agent is a Web Browser.
  • HTTP is stateless but not sessionless
  • The use of Cookies allows the use of stateful session
  • Example: Using E-Commerce shopping basket where we need continuos session.

HTTP

  1. Client:
  • The user agent is any tool that acts on the behalf of the user .
  • The browser is always the entity that initiating the requests.
  1. Server:
  • A server appears as only a single machine virtually, thet is because it may actually be a collection of servers.
  1. Proxies:
  • Between the web broweser and the server numorous computers and machines ralay the HTTP message those operating at the application layer are generally called proxies.
  • Proxies can perform Following Task:
  1. Caching : Like History, browsing cache...
  2. Filtering : Like an antivirus scan..
  3. Load Balancing : To allow multiple server to serve the different request.
  4. Authentication : To control access to different resources.
  5. Logging : Allowing the storage of historical information.

HTTP vs HTTPS

HTTP HTTPS
URL begin with http URL begin with https
Insecured Secured
Works at Application Layer Works at Transport Layer
Encryption is Absent Encryption is Present
Does not require any certificate It need SSL certificate
Uses Port 80 Uses Port 443

In the next Day 18 we will see about SSL.