2/13 - Web App Architecture Flashcards
What does HTTP (Web Transport Protocol) do?
It specifies requests from clients and responses from a server.
What is HTTP built on?
TCP
Which port does HTTP use on the server by default?
Port 80
What does HTTPS do?
HTTPS ensures authenticity
What does HTTPS require?
HTTPS requires a paid certificate
Who can initiate communication in HTTP?
Only the client can initiate communication.
• The server can only send data in response
• The client must poll server periodically to support server notification
URI Format
Uniform Resource Identifier/Locator
What is the PROTOCOL in the following URI?
http://server.com:8888/path/file?p1=v1&p2=v2#x
http
What is the HOST in the following URI?
http://server.com:8888/path/file?p1=v1&p2=v2#x
server.com
What is the PORT in the following URI?
http://server.com:8888/path/file?p1=v1&p2=v2#x
8888
What is the PATH in the following URI?
http://server.com:8888/path/file?p1=v1&p2=v2#x
/path/file
What is the QUERY in the following URI?
http://server.com:8888/path/file?p1=v1&p2=v2#x
p1=v1&p2=v2
What is the ANCHOR in the following URI?
http://server.com:8888/path/file?p1=v1&p2=v2#x
x
Is the anchor in the URI REQUIRED or OPTIONAL?
optional
What does GET do?
used to retrieve a resource names by URI