Berkeley ELENG 122 - HyperText Transfer Protocol (HTTP) (24 pages)

Previewing pages 1, 2, 23, 24 of 24 page document View the full content.
View Full Document

HyperText Transfer Protocol (HTTP)



Previewing pages 1, 2, 23, 24 of actual document.

View the full content.
View Full Document
View Full Document

HyperText Transfer Protocol (HTTP)

50 views


Pages:
24
School:
University of California, Berkeley
Course:
Eleng 122 - Introduction to Communication Networks
Introduction to Communication Networks Documents

Unformatted text preview:

EE 122 HyperText Transfer Protocol HTTP Ion Stoica Nov 25 2002 Background World Wide Web WWW a set of cooperating clients and servers that communicate through HTTP HTTP history First HTTP implementation 1990 Tim Berners Lee at CERN HTTP 0 9 1991 Simple GET command for the Web HTTP 1 0 1992 Client Server information simple caching HTTP 1 1 1996 istoica cs berkeley edu 2 Basics Client server architecture Synchronous request reply protocol Stateless Uses unicast Implemented on top of TCP IP istoica cs berkeley edu 3 Terminology Resource file or service e g dynamic results from the execution of a script Entity information transferred in a request or response Entity Tag unique identifier for a resource istoica cs berkeley edu 4 Universal Resource Locator An address or location of a resource e g http www eecs berkeley edu index html Prefix up to represents the protocol to be used to obtain the resource istoica cs berkeley edu 5 Client Request Steps to get the resource http www eecs berkeley edu index html 1 Use DNS to obtain the IP address of www eecs berkeley edu A 2 Send to A an HTTP request GET index html HTTP 1 0 3 Server response see next slide istoica cs berkeley edu 6 Server Response HTTP 1 0 200 OK Content Type text html Content Length 1234 Last Modified Mon 19 Nov 2001 15 31 20 GMT HTML HEAD TITLE EECS Home Page TITLE HEAD BODY HTML istoica cs berkeley edu 7 Big Picture Client Establish connection Client request Request response TCP Syn Server TCP syn ack T CP a ck H T TP G ET Close connection istoica cs berkeley edu 8 Request Methods GET transfer resource from given URL HEAD GET resource metadata headers only PUT store modify resource under the given URL DELETE remove resource POST provide input for a process identified by the given URL usually used to post CGI parameters istoica cs berkeley edu 9 Response Codes 1x informational 2x success 3x redirection 4x client error in request 5x server error can t satisfy the request istoica cs berkeley edu 10 HTTP 1 0



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view HyperText Transfer Protocol (HTTP) and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view HyperText Transfer Protocol (HTTP) and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?