ESAT Forouzan - Chapter 27: HTTP and WWW Flashcards
HTTP has similarities to both _______ and _______.
a. FTP; SNMP
b. FTP; SMTP
c. FTP; MTV
d. FTP; URL
b. FTP; SMTP
A request message always contains _______.
a. A header and a body
b. A request line and a header
c. A status line, a header, and a body
d. A status line and a header
b. A request line and a header
Which of the following is present in both a request line and a status line?
a. HTTP version number
b. URL
c. Status code
d. Status phrase
a. HTTP version number
What does the URL need to access a document?
a. Path name
b. Host computer
c. Retrieval method
d. All the above
d. All the above
Which of the following is a retrieval method?
a. HTTP
b. FTP
c. TELNET
d. All of the above
d. All of the above
A user wants to replace a document with a newer version; the request line contains the _______ method.
a. GET
b. POST
c. COPY
d. PUT
d. PUT
A user wants to copy a file to another location; the request line contains the _______ method.
a. PUT
b. PATCH
c. COPY
d. POST
c. COPY
A user needs to retrieve a document from the server; the request line contains the _______ method.
a. GET
b. HEAD
c. POST
d. PUT
a. GET
A user needs to send the server some information. The request line method is ________.
a. OPTION
b. PATCH
c. MOVE
d. POST
d. POST
A user needs to move a file to another location. The request line method is _______.
a. MOVE
b. PUT
c. GET
d. PATCH
a. MOVE
A response message always contains _______.
a. A header and a body
b. A status line, a header, and a body
c. A request line and a header
d. A status line and a header
c. A request line and a header
The _______ header supplies information about the body of a document.
a. General
b. Request
c. Response
d. Entity
d. Entity
The _______ header can specify the server configuration or provide information about a request.
a. General
b. Request
c. Response
d. Entity
c. Response
The _______ header can specify the client configuration and the client’s preferred document format.
a. General
b. Request
c. Response
d. Entity
b. Request
Hypertext documents are linked through ___________.
a. DNS
b. TELNET
c. Pointers
d. Homepages
c. Pointers