HTTP Flashcards
What is a client?
A client is a piece of software that is requesting a service from a server
What is a server?
A computer that receives requests from clients and returns responses (services).
Which HTTP method does a browser issue to a web server when you visit a URL?
GET
What three things are on the start-line of an HTTP request message?
An HTTP method, the request target, and the HTTP version.
What three things are on the start-line of an HTTP response message?
The protocol version, a status code, and a status text.
What are HTTP headers?
Properties that specify the request, or describe the body included in the message.
Where would you go if you wanted to learn more about a specific HTTP Header?
MDN
Is a body required for a valid HTTP request or response message?
No
What is AJAX?
A set of techniques used to create asynchronous web applications.
What does the AJAX acronym stand for?
Asynchronous JavaScript And XML
Which object is built into the browser for making HTTP requests in JavaScript?
XMLHttpRequest
What event is fired by XMLHttpRequest objects when they are finished loading the data from the server?
load