HTTP MESSAGES RECAP Flashcards
What is a client?
A client are devices that requesting to connect to a server
What is a server?
A server is a computer, hardware that provides a function for clients
Which HTTP method does a browser issue to a web server when you visit a URL?
HTTP request GET
What is on the first line of an HTTP request message?
HTTP METHOD eg GET absolute path souce
What is on the first line of an HTTP response message?
The protocol version usually HTTP/1.1, status code, test representing status code
What are HTTP headers?
General Headers - apply to the whole message
response headers - give additional information about the server
representation headers - describe the original format of the message data and any encoding
Is a body required for a valid HTTP message?
No, bodies are optional