30 Questions
What is the most common format for data transferred over the Web?
HTML
Which organization coordinated the development of HTTP?
W3C
What does HTTP stand for?
Hyper Text Transfer Protocol
What was the original purpose of HTTP?
To publish and retrieve HTML pages
Which version of HTTP is in common use today?
HTTP/1.1
What does HTML stand for?
Hypertext Markup Language
Which HTTP method is commonly misused for actions in web applications that cause side-effects?
GET
Which HTTP method is used to submit data to be processed by the identified resource?
POST
What does the HEAD method request for?
Meta-information in response headers without the content
Which HTTP method echoes back the received request?
TRACE
Which HTTP method can be used to convert the request connection to a transparent TCP/IP tunnel?
CONNECT
In server response MIME header, what does the 'Content-length' define?
Size of the content in bytes
What is used to identify resources to be accessed by HTTP?
Uniform Resource Identifiers (URIs)
Which component of the request message is optional in the HTTP/1.1 protocol, except for Host?
Headers
What must the empty line in a request consist of, according to the HTTP/1.1 protocol?
ASCII Codes 13 and 10
What action does the client take after sending a GET request in a typical HTTP connection?
Sends a blank line
Which component is included in both the request and response messages in HTTP/1.1?
MIME Header
What follows after the server sends the MIME header in an HTTP connection?
The client receives data in the file
What is the role of a client in the HTTP protocol?
Initiating an HTTP request
What is the significance of a status line in an HTTP transaction?
Indicating the completion status of a request sent to the server
In the context of HTTP, what is the function of an origin server?
Responding to a client's request
What does an HTTP client do upon receiving a request message from the user agent?
Sends back a status line
How does HTTP differ from TCP/IP in terms of usage?
HTTP can operate on top of any other protocol on the Internet
What is the purpose of a URL in network programming?
To identify the location of a resource on the Internet
How is the space character converted in a URL?
It is translated into a plus sign
How is the comma character encoded in a URL?
As %2C
What are the contents of a typical POST request?
MIME header and content type
What does a blank line signal in a POST request?
End of the MIME header
What is required in a MIME header of a POST request?
Content type and content length
How are characters like &, =, ^ encoded in a URL according to the text?
As two hexadecimal digits
Learn about basic concepts of HTTP protocol, URIs, URLs, relative URLs, markup languages, MIME media types, and server-side programs. Understand the role of HTTP in transferring data over the Web using HTML.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free