• Home
  • Textbooks
  • Internetworking with TCP/IP: Pearson New International Edition
  • World Wide Web (HTTP)

Internetworking with TCP/IP: Pearson New International Edition

Douglas E. Comer

Chapter 25

World Wide Web (HTTP) - all with Video Answers

Educators


Chapter Questions

Problem 1

Read the standard for URLs. What does it mean when a pound sign (\#) is followed by a string at the end of a URL?

Check back soon!

Problem 2

Extend the previous exercise. Is it legal to send the pound sign suffix on a URL to a web server? Why or why not?

Check back soon!

Problem 3

How does a browser distinguish between a document that contains HTML and a document that contains arbitrary text? To find out, experiment by using a browser to read from a file. Does the browser use the name of the file or the contents to decide how to interpret the file?

Check back soon!

Problem 4

What is the purpose of an HTTP TRACE command?

Check back soon!

Problem 5

What is the difference between an HTTP PUT command and an HTTP POST command? When is each useful?

Check back soon!

Problem 6

When is an HTTP Keep-Alive header used?

Check back soon!

Problem 7

Can an arbitrary web server function as a proxy? To find out, choose an arbitrary web server and configure your browser to use it as a proxy. Do the results surprise you?

Check back soon!

Problem 8

Download and install the Squid transparent proxy cache. What networking facilities in the OS does Squid use to cache web pages?

Check back soon!

Problem 9

Read about HTTP's must-revalidate cache control directive. Give an example of a web page that would use such a directive.

Check back soon!

Problem 10

Suppose you work for a company that configures your laptop computer always to use the company's proxy web server. Explain what happens if you travel and connect to the Internet at a hotel.

Check back soon!

Problem 11

If a browser does not send an HTTP Content-Length: header before a request, how does a server respond?

Check back soon!

Problem 12

Read more about HTTPS and explain the impact of HTTPS on caching. Under what circumstances can a proxy cache web pages when using HTTPS?

Check back soon!

Problem 13

Read the HTTP specification carefully. Can HTTP be used for streaming video? Explain why or why not.

Check back soon!

Problem 14

Consider a denial-of-service attack on a web server in which a perpetrator arranges to have many clients form a connection to the server and repeatedly send requests for nonexistent web pages. How can such an attack be prevented?

Check back soon!

Problem 15

Because many web pages include ads, most web pages contain at least some dynamic content (i.e., content that is generated when the page is fetched). How should a web designer arrange such pages to maximize caching effectiveness?

Check back soon!