The Network: HTTP
HTTP is one of several network protocols the common Web browser uses. When a Web browser requests a page, it makes this request in the form of a Uniform Resource Locator (URL). This URL contains important information about the resource being requested, using the following syntax.
<protocol>://<server name>[:<port number>]/<location>
The protocol requested can be one of many different protocols, but most commonly is either HTTP, ftp for file transfer protocol, or file for a file on the local machine. Table 27-2 provides a more complete list of protocols that most browsers will accept.
Protocol | Description |
---|---|
http:// | World Wide Web server |
ftp:// | FTP server (file transfer) |
https// | Secure HTTP |
news:// | Usenet newsgroups ... |
Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.