SlideShare a Scribd company logo
EASING
INTO WEB
DEVELOPMENT
5.
5 HTTP
1   INTRODUCTION
    2   HTML
    3   TABLES
    4   FORMS
    5   HTTP
    6   CSS
    7   CSS FRAMEWORKS
    8   DIGITAL MEDIA
2   9   USABILITY
HTTP EXAMPLE 1
1. User makes request
2. Browser sends HTTP request to server

GET /comp1274/randyc/lab10done/enter country htm HTTP/1 1
    /comp1274/randyc/lab10done/enter_country.htm HTTP/1.1
Accept: */*
Accept-Language: en-us,en-ca;q=0.5
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Host: csweb2.mtroyal.ca
Connection: Keep-Alive




                              HTTP
                             Request
        Browser                                   Web Server
3. Server receives and processes the HTTP
request


                      HTTP
                     Request
                       q
      Browser                       Web Server




                                    Retrieve
                                  Requested file
4. Server sends HTTP response
back
HTTP/1.1
HTTP/1 1 200 OK
Server: Microsoft-IIS/5.0
                                                    Server
Date: Thu, 30 Mar 2006 19:50:54 GMT
Content-Type: text/html
                                                          HTTP
Accept-Ranges: bytes
                                                         Response
Last-Modified: Fri, 24 Mar 2006 17:50:50 GMT
Content-Length: 209
                                                    Browser
<HTML><HEAD><TITLE>Enter A Country</TITLE></HEAD>
<BODY>
<FORM METHOD=POST ACTION=form_filter.asp>
 Enter Country Search:
 <INPUT TYPE=TEXT NAME=Search><P>
 <INPUT TYPE=SUBMIT>
</FORM>
</BODY></HTML>
5. Browser displays response
6. User submits data
7. Browser sends HTTP request to server

POST /comp1274/randyc/lab10done/form_filter.asp HTTP/1.1
         p         y                          p
Accept: */*
Referer: http://csweb2.mtroyal.ca/comp1274/randyc/lab10done/enter_country.htm
Accept-Language: en-us,en-ca;q=0.5
Accept Lang age en s en ca q 0 5
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Host: csweb2.mtroyal.ca
Content-Length: 13
Connection: Keep-Alive
Cache-Control: no-cache


Search=Canada


              User entered form data goes here in the http request header
              as a name=value pair
Digression: What if GET rather than POST?
   g         W       G                OS

<FORM METHOD=GET ACTION=form_filter.asp>

Then the user entered form data is added to the requested URL
GET /comp1274/randyc/lab10done/form_filter.asp?Search=Canada HTTP/1.1



Versus

<FORM METHOD=POST ACTION=form_filter.asp>

Then the user entered form data is added to the end of HTTP request header
POST /comp1274/randyc/lab10done/form_filter.asp HTTP/1.1
rest of HTTP request header goes here


Search=Canada
8. Server receives and processes the HTTP
request


                      HTTP
                     Request
                       q
      Browser                       Web Server




                                 Server processes
                                   the request
9. Server script generates response sent back
to b
   browser

HTTP/1.1 200 OK
    /
Server: Microsoft-IIS/5.0
Date: Thu, 30 Mar 2006 19:51:06 GMT
Content-Length: 164
Content-Type: text/html
Cache control:
Cache-control: private


<HTML><HEAD><TITLE>Reading Recordsets</TITLE></HEAD>
<BODY>
<H2>Countries</H2>
<TABLE BORDER=1>
<TR><TD>2</TD><TD>Canada</TD></TR>
</TABLE>
 /      /
</BODY></HTML>
10. Browser displays the
response
HTTP EXAMPLE 2
1. User makes request
2. Browser sends HTTP request to server

GET /comp1274/randyc/lab10done/data_browser.asp HTTP/1.1
Accept: */*
Accept-Language: en-us,en-ca;q=0.5
    p     g g                q
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Host: csweb2.mtroyal.ca
Connection: Keep-Alive
3. Server receives and processes the HTTP
request


                      HTTP
                     Request
                       q
      Browser                       Web Server




                                 Server processes
                                   the request
4. Server script generates response sent back
to b
   browser

HTTP/1.1 200 OK
    /
Server: Microsoft-IIS/5.0
Date: Thu, 30 Mar 2006 19:51:06 GMT
Content-Length: 1590
Content-Type: text/html
Cache-control: private


<HTML><HEAD><TITLE>Data Browser</TITLE></HEAD>
<BODY>
<HR>SELECT * FROM Movies WHERE RunTime < 90<HR>
<TABLE BORDER=1>
   <TR>
      <TD><B>Title</B></TD>
           <TD><B>Release Date</B></TD>
           <TD><B>Run Time</B></TD>
   </TR>
...
5. Browser displays the response
6. User makes request (click on a link)
7. Browser sends HTTP request to server
GET /comp1274/randyc/lab10done/movie.asp?ID=84 HTTP/1.1
Accept: */*
Referer: http://csweb2.mtroyal.ca/comp1274/randyc/lab10done/data_browser.asp
Accept-Language: en-us,en-ca;q=0.5
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Host: csweb2.mtroyal.ca
Connection: Keep-Alive
8. Server receives request, processes it, and
generates response

HTTP/1.1 200 OK
Server: Microsoft‐IIS/5.0
Date: Thu, 30 Mar 2006 19:51:06 GMT
Content‐Length: 585
Content‐Type: text/html
Cache‐control: private
               p


<HTML><HEAD><TITLE>Nightmare Before Christmas, The</TITLE></HEAD>
<BODY>
<H1>Nightmare Before Christmas, The</H1>
Directed by <B>Henry Selick</B><BR>
Released on  12/9/1994<BR>
Released on 12/9/1994<BR>
Movie length is 76 minutes
<H2>Summary</H2>
...
9. Browser displays the response
HTTP EXAMPLE 3
1. User makes request
2. Browser sends HTTP request to server

GET /comp1274/randyc/lab10done/does_not_exist.asp HTTP/1.1
        p         y                             p
Accept: */*
Accept-Language: en-us,en-ca;q=0.5
Accept-Encoding: g ip
Accept Encoding gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Host: csweb2 mtroyal ca
      csweb2.mtroyal.ca
Connection: Keep-Alive
3. Server receives and processes the HTTP
request


                      HTTP
                     Request
                       q
      Browser                       Web Server




                                 Server processes
                                   the request
4. Server receives request, processes it, and
generates response

HTTP/1.1 404 Object Not Found
Server: Microsoft-IIS/5.0
Date: Thu, 30 Mar 2006 19:51:06 GMT
Content-Length: 4040
Content-Type: text/html
Cache-control: private
               p


<html>
...
<title>The page cannot be found</title>
...
<body>
<table>
...
The
Th page you are l ki
                looking f
                        for might h
                             i ht have b
                                       been removed, h d it
                                                  d had its
...
5. Browser displays the response

More Related Content

PPTX
PPTX
Http2 kotlin
KEY
I got 99 problems, but ReST ain't one
ODP
Http
PPTX
HTTP/2 for Developers
PDF
REST in peace @ IPC 2012 in Mainz
PPT
ReST-ful Resource Management
PDF
HTTP 완벽가이드 1장.
Http2 kotlin
I got 99 problems, but ReST ain't one
Http
HTTP/2 for Developers
REST in peace @ IPC 2012 in Mainz
ReST-ful Resource Management
HTTP 완벽가이드 1장.

What's hot (19)

PPTX
Introduction to HTTP protocol
PPT
Web Server Administration
PPTX
Web Security - Cookies, Domains and CORS
PDF
CORS review
PDF
HipHop VM: overclocking Symfony
PDF
Cross site calls with javascript - the right way with CORS
PDF
5. HTTP и приятели
PDF
Cf camp 2019 cfconfig - a new way to manage your cold-fusion engine config
DOCX
Instructions compile the c programs in one of the cse (cse01 – cs
PDF
Frontend Performance - Web Entwickler Forum
PDF
Cross-domain requests with CORS
PPTX
Android and REST
PPTX
Misconfigured CORS, Why being secure isn't getting easier. AppSec USA 2016
PPTX
Upptäcka intrång med hjälp av loggning
PPTX
Type URL, Enter, and Then …
PDF
SPDY - http reloaded - WebTechConference 2012
PDF
Cors kung fu
Introduction to HTTP protocol
Web Server Administration
Web Security - Cookies, Domains and CORS
CORS review
HipHop VM: overclocking Symfony
Cross site calls with javascript - the right way with CORS
5. HTTP и приятели
Cf camp 2019 cfconfig - a new way to manage your cold-fusion engine config
Instructions compile the c programs in one of the cse (cse01 – cs
Frontend Performance - Web Entwickler Forum
Cross-domain requests with CORS
Android and REST
Misconfigured CORS, Why being secure isn't getting easier. AppSec USA 2016
Upptäcka intrång med hjälp av loggning
Type URL, Enter, and Then …
SPDY - http reloaded - WebTechConference 2012
Cors kung fu
Ad

Viewers also liked (20)

PDF
C++17 introduction - Meetup @EtixLabs
PDF
Modern c++ (C++ 11/14)
PDF
Bjarne essencegn13
PPTX
PDF
C++11
PDF
C++11 concurrency
PDF
C++11 & C++14
PDF
"Http protocol and other stuff" by Bipin Upadhyay
PPTX
HTTP Protocol Basic
PDF
C++17 - the upcoming revolution (Code::Dive 2015)/
PPTX
Elements of C++11
PDF
Networking - TCP/IP stack introduction and IPv6
PPTX
Database connectivity to sql server asp.net
PDF
C++11 Idioms @ Silicon Valley Code Camp 2012
PDF
C++14 Overview
PDF
C++ 11 Style : A Touch of Class
PPT
C# Tutorial MSM_Murach chapter-17-slides
PDF
C++11 smart pointers
PDF
Cpp17 and Beyond
C++17 introduction - Meetup @EtixLabs
Modern c++ (C++ 11/14)
Bjarne essencegn13
C++11
C++11 concurrency
C++11 & C++14
"Http protocol and other stuff" by Bipin Upadhyay
HTTP Protocol Basic
C++17 - the upcoming revolution (Code::Dive 2015)/
Elements of C++11
Networking - TCP/IP stack introduction and IPv6
Database connectivity to sql server asp.net
C++11 Idioms @ Silicon Valley Code Camp 2012
C++14 Overview
C++ 11 Style : A Touch of Class
C# Tutorial MSM_Murach chapter-17-slides
C++11 smart pointers
Cpp17 and Beyond
Ad

Similar to Web I - 05 - HTTP Protocol (20)

PDF
Web II - 02 - How ASP.NET Works
PPTX
HTTP fundamentals for developers
PPT
Under the Covers with the Web
PDF
ODP
HTTP Basic - PHP
DOCX
CSE422 Section 002 – Computer Networking Fall 2018 Ho.docx
PDF
Hidden Gems in HTTP
PDF
IBM dwLive, "Internet & HTTP - 잃어버린 패킷을 찾아서..."
PDF
Http methods
PDF
20190516 web security-basic
PDF
Caching on the Edge
ODP
PHP Training: Module 1
PPT
Http request&response by Vignesh 15 MAR 2014
PPTX
PPT
Presentation (PPT)
PPT
Web Fundamentals
PDF
HTTP / 1, HTTP / 2 and HTTP / 3: Past, present and the future of APIs
PPT
Http request&response
ODP
Implementing Early Hints in Chrome - Approaches and Challenges
PDF
2014 database - course 1 - www introduction
Web II - 02 - How ASP.NET Works
HTTP fundamentals for developers
Under the Covers with the Web
HTTP Basic - PHP
CSE422 Section 002 – Computer Networking Fall 2018 Ho.docx
Hidden Gems in HTTP
IBM dwLive, "Internet & HTTP - 잃어버린 패킷을 찾아서..."
Http methods
20190516 web security-basic
Caching on the Edge
PHP Training: Module 1
Http request&response by Vignesh 15 MAR 2014
Presentation (PPT)
Web Fundamentals
HTTP / 1, HTTP / 2 and HTTP / 3: Past, present and the future of APIs
Http request&response
Implementing Early Hints in Chrome - Approaches and Challenges
2014 database - course 1 - www introduction

More from Randy Connolly (20)

PDF
Celebrating the Release of Computing Careers and Disciplines
PDF
Public Computing Intellectuals in the Age of AI Crisis
PDF
Why Computing Belongs Within the Social Sciences
PDF
Ten-Year Anniversary of our CIS Degree
PDF
Careers in Computing (2019 Edition)
PDF
Facing Backwards While Stumbling Forwards: The Future of Teaching Web Develop...
PDF
Where is the Internet? (2019 Edition)
PDF
Modern Web Development (2018)
PDF
Helping Prospective Students Understand the Computing Disciplines
PDF
Constructing a Web Development Textbook
PDF
Web Development for Managers
PDF
Disrupting the Discourse of the "Digital Disruption of _____"
PDF
17 Ways to Fail Your Courses
PDF
Red Fish Blue Fish: Reexamining Student Understanding of the Computing Discip...
PPTX
Constructing and revising a web development textbook
PDF
Computing is Not a Rock Band: Student Understanding of the Computing Disciplines
PDF
Citizenship: How do leaders in universities think about and experience citize...
PDF
Thinking About Technology
PDF
A longitudinal examination of SIGITE conference submission data
PDF
Web Security
Celebrating the Release of Computing Careers and Disciplines
Public Computing Intellectuals in the Age of AI Crisis
Why Computing Belongs Within the Social Sciences
Ten-Year Anniversary of our CIS Degree
Careers in Computing (2019 Edition)
Facing Backwards While Stumbling Forwards: The Future of Teaching Web Develop...
Where is the Internet? (2019 Edition)
Modern Web Development (2018)
Helping Prospective Students Understand the Computing Disciplines
Constructing a Web Development Textbook
Web Development for Managers
Disrupting the Discourse of the "Digital Disruption of _____"
17 Ways to Fail Your Courses
Red Fish Blue Fish: Reexamining Student Understanding of the Computing Discip...
Constructing and revising a web development textbook
Computing is Not a Rock Band: Student Understanding of the Computing Disciplines
Citizenship: How do leaders in universities think about and experience citize...
Thinking About Technology
A longitudinal examination of SIGITE conference submission data
Web Security

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Spectroscopy.pptx food analysis technology
KodekX | Application Modernization Development
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation_ Review paper, used for researhc scholars
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Network Security Unit 5.pdf for BCA BBA.
Understanding_Digital_Forensics_Presentation.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectroscopy.pptx food analysis technology

Web I - 05 - HTTP Protocol

  • 2. 1 INTRODUCTION 2 HTML 3 TABLES 4 FORMS 5 HTTP 6 CSS 7 CSS FRAMEWORKS 8 DIGITAL MEDIA 2 9 USABILITY
  • 4. 1. User makes request
  • 5. 2. Browser sends HTTP request to server GET /comp1274/randyc/lab10done/enter country htm HTTP/1 1 /comp1274/randyc/lab10done/enter_country.htm HTTP/1.1 Accept: */* Accept-Language: en-us,en-ca;q=0.5 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) Host: csweb2.mtroyal.ca Connection: Keep-Alive HTTP Request Browser Web Server
  • 6. 3. Server receives and processes the HTTP request HTTP Request q Browser Web Server Retrieve Requested file
  • 7. 4. Server sends HTTP response back HTTP/1.1 HTTP/1 1 200 OK Server: Microsoft-IIS/5.0 Server Date: Thu, 30 Mar 2006 19:50:54 GMT Content-Type: text/html HTTP Accept-Ranges: bytes Response Last-Modified: Fri, 24 Mar 2006 17:50:50 GMT Content-Length: 209 Browser <HTML><HEAD><TITLE>Enter A Country</TITLE></HEAD> <BODY> <FORM METHOD=POST ACTION=form_filter.asp> Enter Country Search: <INPUT TYPE=TEXT NAME=Search><P> <INPUT TYPE=SUBMIT> </FORM> </BODY></HTML>
  • 10. 7. Browser sends HTTP request to server POST /comp1274/randyc/lab10done/form_filter.asp HTTP/1.1 p y p Accept: */* Referer: http://csweb2.mtroyal.ca/comp1274/randyc/lab10done/enter_country.htm Accept-Language: en-us,en-ca;q=0.5 Accept Lang age en s en ca q 0 5 Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) Host: csweb2.mtroyal.ca Content-Length: 13 Connection: Keep-Alive Cache-Control: no-cache Search=Canada User entered form data goes here in the http request header as a name=value pair
  • 11. Digression: What if GET rather than POST? g W G OS <FORM METHOD=GET ACTION=form_filter.asp> Then the user entered form data is added to the requested URL GET /comp1274/randyc/lab10done/form_filter.asp?Search=Canada HTTP/1.1 Versus <FORM METHOD=POST ACTION=form_filter.asp> Then the user entered form data is added to the end of HTTP request header POST /comp1274/randyc/lab10done/form_filter.asp HTTP/1.1 rest of HTTP request header goes here Search=Canada
  • 12. 8. Server receives and processes the HTTP request HTTP Request q Browser Web Server Server processes the request
  • 13. 9. Server script generates response sent back to b browser HTTP/1.1 200 OK / Server: Microsoft-IIS/5.0 Date: Thu, 30 Mar 2006 19:51:06 GMT Content-Length: 164 Content-Type: text/html Cache control: Cache-control: private <HTML><HEAD><TITLE>Reading Recordsets</TITLE></HEAD> <BODY> <H2>Countries</H2> <TABLE BORDER=1> <TR><TD>2</TD><TD>Canada</TD></TR> </TABLE> / / </BODY></HTML>
  • 14. 10. Browser displays the response
  • 16. 1. User makes request
  • 17. 2. Browser sends HTTP request to server GET /comp1274/randyc/lab10done/data_browser.asp HTTP/1.1 Accept: */* Accept-Language: en-us,en-ca;q=0.5 p g g q Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) Host: csweb2.mtroyal.ca Connection: Keep-Alive
  • 18. 3. Server receives and processes the HTTP request HTTP Request q Browser Web Server Server processes the request
  • 19. 4. Server script generates response sent back to b browser HTTP/1.1 200 OK / Server: Microsoft-IIS/5.0 Date: Thu, 30 Mar 2006 19:51:06 GMT Content-Length: 1590 Content-Type: text/html Cache-control: private <HTML><HEAD><TITLE>Data Browser</TITLE></HEAD> <BODY> <HR>SELECT * FROM Movies WHERE RunTime < 90<HR> <TABLE BORDER=1> <TR> <TD><B>Title</B></TD> <TD><B>Release Date</B></TD> <TD><B>Run Time</B></TD> </TR> ...
  • 20. 5. Browser displays the response
  • 21. 6. User makes request (click on a link)
  • 22. 7. Browser sends HTTP request to server GET /comp1274/randyc/lab10done/movie.asp?ID=84 HTTP/1.1 Accept: */* Referer: http://csweb2.mtroyal.ca/comp1274/randyc/lab10done/data_browser.asp Accept-Language: en-us,en-ca;q=0.5 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) Host: csweb2.mtroyal.ca Connection: Keep-Alive
  • 23. 8. Server receives request, processes it, and generates response HTTP/1.1 200 OK Server: Microsoft‐IIS/5.0 Date: Thu, 30 Mar 2006 19:51:06 GMT Content‐Length: 585 Content‐Type: text/html Cache‐control: private p <HTML><HEAD><TITLE>Nightmare Before Christmas, The</TITLE></HEAD> <BODY> <H1>Nightmare Before Christmas, The</H1> Directed by <B>Henry Selick</B><BR> Released on  12/9/1994<BR> Released on 12/9/1994<BR> Movie length is 76 minutes <H2>Summary</H2> ...
  • 24. 9. Browser displays the response
  • 26. 1. User makes request
  • 27. 2. Browser sends HTTP request to server GET /comp1274/randyc/lab10done/does_not_exist.asp HTTP/1.1 p y p Accept: */* Accept-Language: en-us,en-ca;q=0.5 Accept-Encoding: g ip Accept Encoding gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) Host: csweb2 mtroyal ca csweb2.mtroyal.ca Connection: Keep-Alive
  • 28. 3. Server receives and processes the HTTP request HTTP Request q Browser Web Server Server processes the request
  • 29. 4. Server receives request, processes it, and generates response HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Thu, 30 Mar 2006 19:51:06 GMT Content-Length: 4040 Content-Type: text/html Cache-control: private p <html> ... <title>The page cannot be found</title> ... <body> <table> ... The Th page you are l ki looking f for might h i ht have b been removed, h d it d had its ...
  • 30. 5. Browser displays the response