{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

4-httpProtocol - HttpProtocol ImranAhmad COMP2405...

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

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

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

View Full Document Right 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).
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  
Image of page 3

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

View Full Document Right 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
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
Image of page 5

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

View Full Document Right 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.
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
Image of page 7

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

View Full Document Right 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
Image of page 8
9 Layered architectures Layers: grouping the common functions Benefits of layers:
Image of page 9

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern