Client, Server, HTTP, IP Address, Domain Name. Client-Server Model Client Bob Yahoo Server yahoo.com/finance.html A text file named finance.html.

Slides:



Advertisements
Similar presentations
An Introduction to the Internet and the Web Frank McCown COMP 250 – Internet Development Harding University.
Advertisements

World Wide Web Basics Original version by Carolyn Watters (Dalhousie U. Computer Science)
HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
HTTP – HyperText Transfer Protocol
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
HTTP Hypertext Transfer Protocol. HTTP messages HTTP is the language that web clients and web servers use to talk to each other –HTTP is largely “under.
How the web works: HTTP and CGI explained
Networks: HTTP and DNS 1 The Internet and HTTP and DNS Examples.
HTTP Presented By: Holly Mortinson Amy Drout Kyle Balmer & Matt Conklin.
HTTP Exercise 01. Three Internet Protocols IP TCP HTTP Routes messages thru “Inter-network “ 2-way Connection between programs on 2 computers So they.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
1 The HyperText Transfer Protocol: HTTP Nick Smith Stuart Alley Tara Tjaden.
Definitions, Definitions, Definitions Lead to Understanding.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
Hypertext Transport Protocol CS Dick Steflik.
 What is it ? What is it ?  URI,URN,URL URI,URN,URL  HTTP – methods HTTP – methods  HTTP Request Packets HTTP Request Packets  HTTP Request Headers.
Lecture 4 Web browsers, servers and HTTP Boriana Koleva Room: C54
Rensselaer Polytechnic Institute CSC-432 – Operating Systems David Goldschmidt, Ph.D.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
Computer Concepts 2014 Chapter 7 The Web and .
Introduction to Web Programming Fall 2014/2015 Some slides are based upon Web Technologies course slides, HUJI, 2009 Extended System Programming Laboratory.
Human-Computer Interface Course 5. ISPs and Internet connection.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
FTP (File Transfer Protocol) & Telnet
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
HyperText Transfer Protocol (HTTP).  HTTP is the protocol that supports communication between web browsers and web servers.  A “Web Server” is a HTTP.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Some Data Comm. Standards
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
2: Application Layer1 CS 4244: Internet Software Development Dr. Eli Tilevich.
Maryam Elahi University of Calgary – CPSC 441.  HTTP stands for Hypertext Transfer Protocol.  Used to deliver virtually all files and other data (collectively.
Web application architecture
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
WebServer A Web server is a program that, using the client/server model and the World Wide Web's Hypertext Transfer Protocol (HTTP), serves the files that.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
Web Client-Server Server Client Hypertext link TCP port 80.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
Web Server Design Assignment #2: Conditionals & Persistence Due: 02/24/2010 Old Dominion University Department of Computer Science CS 495/595 Spring 2010.
Jan.2001C.Watters1 World Wide Web Basics. Jan.2001C.Watters2 What is an internet anyway? 2 or more networks that can communicate.
Appendix E: Overview of HTTP ©SoftMoore ConsultingSlide 1.
Operating Systems Lesson 12. HTTP vs HTML HTML: hypertext markup language ◦ Definitions of tags that are added to Web documents to control their appearance.
WEB SERVER Mark Kimmet Shana Blair. The Project Web Server Application  Receives request for web pages or images from a client browser via the internet.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
Fall 2000C.Watters1 World Wide Web and E-Commerce Clients & Client Side Processing.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
Overview of Servlets and JSP
HTTP protocol Java Servlets. HTTP protocol Web system communicates with end-user via HTTP protocol HTTP protocol methods: GET, POST, HEAD, PUT, OPTIONS,
JavaScript and Ajax (Internet Background) Week 1 Web site:
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
COMP2322 Lab 2 HTTP Steven Lee Jan. 29, HTTP Hypertext Transfer Protocol Web’s application layer protocol Client/server model – Client (browser):
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
INTRODUCTION Dr Mohd Soperi Mohd Zahid Semester /16.
Lecture # 1 By: Aftab Alam Department Of Computer Science University Of Peshawar Internet Programming.
HTTP – An overview.
The Hypertext Transfer Protocol
CNIT 131 Internet Basics & Beginning HTML
COMP2322 Lab 2 HTTP Steven Lee Feb. 8, 2017.
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
HTTP Request Method URL Protocol Version GET /index.html HTTP/1.1
Kevin Harville Source: Webmaster in a Nutshell, O'Rielly Books
Presentation transcript:

Client, Server, HTTP, IP Address, Domain Name

Client-Server Model Client Bob Yahoo Server yahoo.com/finance.html A text file named finance.html Internet

HTTP: Hypertext Transport Protocol HTTP is a form of communication protocol which specifies how web clients and servers should communicate. The basic structure of HTTP follows a request-response model. A client always initiates a request message to the server; the server generates a response message.

HTTP Request Message Every HTTP request message has the same basic structure: Start Line (request method, URI, HTTP version) Header field(s) (one or more) Blank line Message body (optional) GET /tian/public_html/teaching.html HTTP/1.1 host: ww2.cs.fsu.edu

HTTP Request Method GET: request server to return the resource specified by the Request-URI as the body of a response message POST: pass the body of this request message on as data to be processed by the resource specified by the Request-URL

HTTP Header Fields The Host header field is required in every HTTP/1.1 request message. Three major header fileds: Host: User-agent: Mozilla/5.0 (Windows) Accept: text/html, application/xml (MIME types) Content types that are acceptable for the response

HTTP Response Message Every HTTP response message has the same basic structure: Status Line (HTTP version, status code, Reason Phrase) Header field(s) (one or more) Blank line Message body (optional) HTTP/ OK HTTP/ NOT FOUND

Example of HTTP Request Message Try to retrieve the file at nt.html nt.html GET /~tian/public_html/webDevelopment.html HTTP/1.1 Host: ww2.cs.fsu.edu User-Agent: Molliza9.0 (Windows) Accept: text/html

Example of HTTP Response Message HTTP/1.1 Date: Fri, 31 Dec :20:00 GMT Content-Type: text/html Content-Length: 1354 Welcome to CGS 3066

IP address and Domain Name Every computer on the Internet has an IP address such as Humans find it easier to refer to computers by names, such as yahoo.com. This is called host/domain name. DNS (Domain Name Service) provides a mechanism for mapping back and forth between IP addresses and host names.

Client-Server Communication Client Bob DNS What is the IP address of “ yahoo.com ” yahoo.com’s IP address is Yahoo Server HTTP Request HTTP Response

Web Client Web client is a software that accesses a web server by sending an HTTP request message and processing the resulting HTTP response. Web Browser is a typical web client. IE, Firefox, Safari, etc Browser-Wars En.wikipedia.org/wiki/Browser_wars Each company trying to add features and performance to its browser in order to increase its market share.

Browser War What are the advantages? What are the disadvantages? Despite this diversity, all of the major modern browsers support a common set of basic user features and provide similar support for HTTP communication.

Server The primary feature of every web server is to accept HTTP request from web client and return an appropriate resource (if available) in the HTTP response. 1. Wait for connection requests from a client. 2. Receive an HTTP request. 3. Finding the requested file and creates an HTTP response that contains the file in the body of the response message.

Next Class History of HTML Basic elements of HTML5 Write your first web page in HTML5