HTTP Flashcards
What three things are on the start-line of an HTTP response message?
What are HTTP headers?
Where would you go if you wanted to learn more about a specific HTTP Header?
Is a body required for a valid HTTP request or response message?
What is a client?
a client is a piece of computer hardware or software that accesses a service made available by a server as part of the client–server model of computer networks.
computer hardware or software device that requests access to a service provided by a server.
What is a server?
a computer program or device that provides a service to another computer program and its user, also known as the client.
A server is a computer or system that provides resources, data, services, or programs to other computers, known as clients, over a network.
Which HTTP method does a browser issue to a web server when you visit a URL?
GET is used to retrieve and request data from a specified resource in a server.
What is on the first line of an HTTP request message?
Start Line
an HTTP method like GET or POST
Request target - usually a url
The HTTP version which describes the structure of remaining message.
What is on the first line of an HTTP response message?
Status line
Protocol version usually HTTP/1.1
Status code - like 200
Status text - brief description of status code.
What are HTTP headers?
HTTP headers are the code/ strings that transfers data between a Web server and a client.
http headers are a list of strings or string sent and received by both the client program and server on every HTTP request and response.
Is a body required for a valid HTTP message?
No requests fetching resources like GET, HEAD, DELETE, or OPTIONS usually dont need one.
difference between internet vs web
internet is what all computers are connected to
web is links between web documents