http Flashcards
request message
specifies the operation to be performed by the server
response message
includes the result of the request and meta data and status codes
what do the http headers include
directives and or parameters
info about the client server and message body
context types (request, response, payload)
what are the 2 proxy handling types
end-to-end
hop-by-hop
GET
retrieves data from server without altering
HEAD
fetches headers for a resource
like GET but without the response body
OPTIONS
describes the communication options for the target resource
TRACE
echos back the received request to help with debugging
DELETE
removes the specified resource from the server
PUT
replaces the target resource with the uploaded content
POST
submits data to the server often causing a change or creation of a resource
PATCH
partially updates the target resource with the provided data
CONNECT
establishes a tunnel to the server
typically for ssl/tsl communication
http methods
a keyword that tells the server what operation to perfom
200 OK
request succeeded
object later in the message
301 moved permanently
request object moved new location in this message
400 bad request
message not understood by server
404 not found
not found in server
idempotent method
identical output if called multiple times
cacheable method
generates a cacheable response
rtt
time for a packet to travel from client to server and back
head-of-line blocking
requests are processed sequentially leading to inneficiency
persistent connections
connection kept open for multiple requests
pipelining
sending the next request before the first is fully transmitted
multiplexing
multiple requests and responses can be processed simultaneously over a single connection
end-to-end (proxy handling type)
shouldnt be modified by intermediaries
can be cached
hop-by-hop (proxy handling type)
only relevant between nodes