4-httpProtocol

4-httpProtocol - HttpProtocol ImranAhmad COMP2405 Terminology Client/Servermodel: Client: Server(Daemon: requests, results Prot

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Http Protocol Imran Ahmad COMP 2405
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Terminology Client/Server model: the most typical interaction  between two parties within networks Client: the process making requests Server ( Daemon ): the process waiting and receiving  requests, processing the requests and returning  results Protocols:  a set of rules governing how two  communicating parties are to interact. Service: a protocol will provide a service Layers’ protocols: each layer carries out a specific set  of functions using its own protocol, and builds on the  services of the layer below it (provides a service to its  upper layer).
Background image of page 2
Both were invented at the same time by the same person HTTP vs HTML HTML:  hypertext  markup language Definitions of tags that are added to Web documents to  control their appearance HTTP:  hypertext transfer  protocol The rules governing the conversation between a Web  client and a Web server  
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is a protocol? In diplomatic circles, a protocol is the set of rules  governing a conversation between people We have seen that the client and server carry on  a machine-to-machine conversation A network protocol is the set of rules governing a  conversation between a client and a server There are many protocols, HTTP is just one
Background image of page 4
I would like to open a  connection  GET <file location> Display response Close connection OK Send page or error message OK Client Server HTTP is the set of rules governing the format and content  of the conversation between a Web client and server An HTTP conversation
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
An HTTP example The message requesting a Web page must begin with the  work “GET” and be followed by a space and the location of  a file on the server, like this: GET /fac/lpress/shortbio.htm  The protocol spells out the exact message format, so  any Web client can retrieve pages from any Web server.
Background image of page 6
HTTP is an  application layer  protocol The Web client and the Web server are application  programs Application layer programs do useful work like retrieving  Web pages, sending and receiving email or transferring files Lower layers take care of the communication details The client and server send messages and data without  knowing anything about the communication network
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Many application layer protocols are used  on the Internet, HTTP is only one Protocol Application HTTP: Hypertext Transfer Retrieve and view Web pages FTP: File Transfer Copy files from client to server or from server to client SMTP: Simple Mail Transport Send email POP: Post Office Read email
Background image of page 8
9 Layered architectures Layers: grouping the common functions Benefits of layers:
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/11/2010 for the course COMP 2405 taught by Professor Imranahmed during the Winter '10 term at Carleton CA.

Page1 / 32

4-httpProtocol - HttpProtocol ImranAhmad COMP2405 Terminology Client/Servermodel: Client: Server(Daemon: requests, results Prot

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online