Lecture 09
Lecture 09
COMMUNICATIONS AND
COMPUTER NETWORKS
LECTURE 09
Course Instructors:
Dr. Waseem Abbas
AGENDA
Web and HTTP
Non-Persistent and Persistent Connections
HTTP Message Format
User-Server Interaction: Cookies
Web Caching
* Check out the online interactive exercises for more examples: h ttp://gaia.cs.umass.edu/kurose_ross/interactive/
HTTP RESPONSE STATUS CODES
status code appears in 1st line in server-to-client
response message.
some sample codes:
200 OK
• request succeeded, requested object later in this message
301 Moved Permanently
• requested object moved, new location specified later in this message (in
Location: field)
400 Bad Request
• request msg not understood by server
404 Not Found
• requested document not found on this server
505 HTTP Version Not Supported
USER-SERVER INTERACTION: COOKIES
[RFC 6265]