http messages Flashcards
What is a client?
a service requester
What is a server?
providers of a resource or service
Which HTTP method does a browser issue to a web server when you visit a URL?
initiates a requests for services wait for response
What is on the first line of an HTTP request message?
HTTP method like get put or post, that describes the action to be performed/ request target, http version
What is on the first line of an HTTP response message?
protocol version, HTTP/1.1
What are HTTP headers?
allows for clients and server to pass additional information with an http request or response. name followed by : value, single line
Is a body required for a valid HTTP message?
it is not required
http –body GET https://example.com > index.html
request body html, put that content into a new file called index.html