Description of WWW and HTTP, Exercises of Data Communication Systems and Computer Networks

This file contains solution to problems related Data Communication Systems. Mr. Prajin Ahuja assigned task at Birla Institute of Technology and Science. Its main points are: WWW, HTTP, Proxy, Server, Web, Document, Active, Static, Head, Copy, Delete, Modified, Authentication

Typology: Exercises

2011/2012

Uploaded on 07/26/2012

waania
waania 🇮🇳

4.4

(31)

119 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
CHAPTER 27
WWW and HTTP
Solutions to Odd-Numbered Review Questions and Exercises
Review Questions
1. HTTP is a file transfer protocol that facilitates access to the WWW.
3. HTTP is like FTP because they both transfer files and use the services of TCP.
5. A proxy server is a computer that keeps copies of responses to recent requests.
When an HTTP client has a request, the cache of the proxy server is checked
before the request goes to the regular server.
7. A Web docume nt can be classified as either static, active, or dynamic.
9. A dynamic document is the product of a program run by a server as requested by a
browser. An active document is the product of a program sent from the server to
the client and run at the client site.
11. Java is one of the languages that is used to write an active document.
Exercises
13. On the screen you see: The publisher of this book is McGraw-Hill Publisher
15. HTTP/1.1 200 OK
Date: Fri, 13-Jan-06 08:45:25 GMT
Server: Challenger
MIME-version: 1.0
Content-length: 4623
(Body of document)
17. HTTP/1.1 400 Bad Request
Date: Fri, 13-Jan-06 08:45:25 GMT
Server: Challenger
docsity.com
pf2

Partial preview of the text

Download Description of WWW and HTTP and more Exercises Data Communication Systems and Computer Networks in PDF only on Docsity!

1

CHAPTER 27

WWW and HTTP

Solutions to Odd-Numbered Review Questions and Exercises

Review Questions

  1. HTTP is a file transfer protocol that facilitates access to the WWW.
  2. HTTP is like FTP because they both transfer files and use the services of TCP.
  3. A proxy server is a computer that keeps copies of responses to recent requests. When an HTTP client has a request, the cache of the proxy server is checked before the request goes to the regular server.
  4. A Web document can be classified as either static , active , or dynamic.
  5. A dynamic document is the product of a program run by a server as requested by a browser. An active document is the product of a program sent from the server to the client and run at the client site.
  6. Java is one of the languages that is used to write an active document.

Exercises

  1. On the screen you see: The publisher of this book is McGraw-Hill Publisher
  2. HTTP/1.1 200 OK Date: Fri, 13-Jan-06 08:45:25 GMT Server: Challenger MIME-version: 1. Content-length: 4623

(Body of document)

HTTP/1.1 400 Bad Request Date: Fri, 13-Jan-06 08:45:25 GMT Server: Challenger

docsity.com

2

HEAD /bin/users/file HTTP /1. Date: Fri, 13-Jan-06 10:40:22 GMT MIME-version: 1. From: [email protected]

COPY /bin/usr/bin/file1 HTTP /1. Date: Fri, 13-Jan-06 10:52:12 GMT MIME-version: 1. Location: /bin/file

DELETE /bin/file1 HTTP /1. Date: Fri, 13-Jan-06 11:04:22 GMT Server: Challenger Authentication: swd22899/3X4ake88rTfh (Not discussed in the book)

GET /bin/etc/file1 HTTP /1. Date: Fri, 13-Jan-06 11:22:08 GMT MIME-version: 1. Accept: / If-modified-since: 23-Jan-1999 00:00:00 GMT

GET /bin/etc/file1 HTTP /1. Date: Fri, 13-Jan-06 11:41:02 GMT MIME-version: 1. Accept: / Host: Mercury Authentication: swd22899/3X4ake88rTfh (Not discussed in the book)

PUT /bin/letter HTTP /1. Date: Fri, 13-Jan-06 11:47:00 GMT MIME-version: 1. Accept: text/html Accept: image/gif Accept: image/jpeg Location: /bin/letter

docsity.com