Individual Exercises from the Textbook: Answer the questions in depth
- Read the standard for URLs. What does a pound sign (#) followed by a string mean at the end of a URL?
- Is it legal to send the pound sign suffix on a URL to a web server? Why or why not?
- 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?
- What is the purpose of an HTTP TRACE command?
- What is the difference between an HTTP PUT command and an HTTP POST command? When is each useful?
- When is an HTTP Keep-Alive header used?
- If a browser does not send an HTTP Content-Length header before a request, how does a server respond?