Review Questions

http://www.smart-soft.com

1: What is the name of the wire protocol that web browsers use to talk to web servers?   Answer

2: What do you call the message that the web browser sends to the web server?   Answer

3: What do you call the message that the web server sends to the web browser?   Answer

4: Name the three sections of an HTTP request?   Answer

5: Name the three sections of an HTTP response?   Answer

6: Name three pieces of information that is contained in an HTTP request line.   Answer

7: Name the two most common HTTP request methods.   Answer

8: Name three pieces of information contained in the HTTP response line.   Answer

9: Under what conditions is the HTTP request's body used?   Answer

10: What is typically included in an HTTP request's body?   Answer

11: Who defines and controls the HTTP protocol?   Answer

12: Name two HTTP headers that might be included in an HTTP request?   Answer

13: Name two HTTP headers that might be included in an HTTP response?   Answer

14: Name 3 things a browser user can do to cause an HTTP request to be sent from his browser to the web server.   Answer

15: What is the difference between an HTTP GET and an HTTP POST?   Answer

16: Specify weather a GET or a POST is generated for each of following:

  1. User manually types a URL into the browser's address window.
  2. User clicks on an HTML link (A tag)
  3. User submits an HTML form
  Answer

17: When an HTTP request is generated by POSTing an HTML form, what is the content type of the data in the request body?   Answer