Intro to Web Servers Flashcards
1
Q
What is
HTTP
A
The fundamental data transfer protocol for the World Wide Web.
2
Q
HTTP is an application-layer protocol with what features?
A
- It assumes client-server architecture
- It is stateless.
- It has two kinds of messages:
- Requests: Sent by client
- Responses: Sent by server
3
Q
What are the different request methods that a client can use?
A
- GET
- POST
- PUT
- HEAD
- DELETE
4
Q
How does a HTTP Request identify a resource?
There are two options.
A
- Uniform Resource Identifier (URI)
- Uniform Resource Locator (URL)
5
Q
What is a
Web Server
A
A process that listens for and accepts HTTP messages, sent through network connections.
6
Q
Briefly describe the
Web Server Process
A
- The server listens on a port
- The browser (client) opens a network connection to the port at which the web server is listening for incoming requests.
- The server responds by locating the requested resource and sending it back to the browser (client).
7
Q
What do web applications need to offer services over HTTP?
A
Web applications require clients to identify the service and identify how to communicate with it.
8
Q
What approach will our web application implement?
A
RESTful Approach (Representational State Transfer)