What Is HTTP?


World Wide Web Communication
The World Wide Web is about communication between web clients and web servers.

HTTP Request / Response
Communication between clients and servers is done by requests and responses:
  1. A client (a browser) sends an HTTP request to the web.
  2. A web server receives the request.
  3. The server runs an application to process the request.
  4. The server returns an HTTP response (output) to the browser.

    • The browser requests an HTML page. The server returns an HTML file.
    • The browser requests a style sheet. The server returns a CSS file.
    • The browser requests an JPG image. The server returns a JPG file.
    • The browser requests JavaScript code. The server returns a JS file
    • The browser requests data. The server returns data.

  5. The client (the browser) receives the response.
Review: HTTP (Hyper Text Transfer Protocol)
Which is NOT true about HTTP?
      Communication between client computers and web servers is done by sending HTTP requests and receiving HTTP responses.
      HTTP stands for Hyper Text Transfer Protocol.
      The letter S in HTTPS stands for Specifications.
      WWW is about communication between web clients and servers.
Result:        




      Q: What’s the most unfair thing about American politics?    
      A: We get 50 choices for Miss America, but only two for the president of America.