Chapter 16: The HyperText Transfer Protocol

Note: this page applies to the now-obsolete first edition of the book. For the second edition, please see http://www.corewebprogramming.com.


This chapter of Core Web Programming (pages 866-911) covers HTTP. In addition to an overview of the basic "conversation" between an HTTP client and server, it gives details of legal request methods, the various request headers, the response status line, and various response headers. Gives particular details on cookies, plus presents an overview of public-key cryptography (as used in SSL and elsewhere).

Contents


Programs in this Chapter

The .sh and .csh scripts are Unix-specific, and must be set executable and placed in the CGI directory. Reminder: On Windows 95/NT and Unix, click on the links with the right mouse button to save the referenced file to a new location. On any platform, you can also click on the links with the SHIFT key held down. On Netscape, this lets you save the source for the referenced file to a new location. In Internet Explorer, this puts the referenced file in a separate browser window (without frames), where you can then save it.

URLs in this Chapter