Which protocol is used to transfer web pages over the Internet?
AFTP
BSMTP
CTCP
DHTTP
Answer:
D. HTTP
Read Explanation:
Hypertext Transfer Protocol (HTTP)
- HTTP is the foundation of data communication for the World Wide Web, designed specifically for the transfer of hypermedia documents, such as HTML.
- It operates as a request-response protocol in the client-server computing model.
- The web browser, acting as the client, sends an HTTP request to the web server, which then returns a response containing the requested resources.
- Default Port: HTTP typically uses port 80 for its communication.
HTTPS (Hypertext Transfer Protocol Secure)
- HTTPS is the secure version of HTTP, where the communication is encrypted using Transport Layer Security (TLS) or its predecessor, Secure Sockets Layer (SSL).
- It protects against eavesdropping and man-in-the-middle attacks.
- Default Port: HTTPS typically uses port 443.
Key Characteristics
- Statelessness: HTTP is inherently stateless, meaning the server does not retain session information about the client between requests. This is often overcome using cookies.
- Request Methods: Common methods include GET (retrieving data), POST (submitting data to be processed), PUT (replacing current representations), and DELETE (removing resources).
- Status Codes: Responses include status codes like 200 OK (success), 404 Not Found (client error), and 500 Internal Server Error (server error).
