0%

Book Description

The HyperText Transfer Protocol, or HTTP, is the backbone of the World Wide Web. HTTP is the language that each web browser (or other web client) uses to communicate with servers around the world. All web programmers, administrators, and application developers need to be familiar with HTTP in order to work effectively.The HTTP Pocket Reference not only provides a solid conceptual foundation of HTTP, it also serves as a quick reference to each of the headers and status codes that comprise an HTTP transaction. The book starts with a tutorial of HTTP, but then explains the client request and server responses in more detail, and gives a thorough technical explanation of more advanced features of HTTP (such as persistent connections and caching).Most people use the Web every day without knowing anything about HTTP, but for those who need to get "beyond the browser," this book is the place to start.

Table of Contents

  1. 1. HTTP Pocket Reference
    1. 1.1. What Is HTTP?
    2. 1.2. HTTP Transactions
      1. 1.2.1. Requests
      2. 1.2.2. Responses
        1. 1.2.2.1. Parsing the HTML
      3. 1.2.3. Structure of HTTP Transactions
    3. 1.3. Client Methods
      1. 1.3.1. GET: Retrieve a Document
      2. 1.3.2. HEAD: Retrieve Header Information
      3. 1.3.3. POST: Send Data to the Server
        1. 1.3.3.1. URL-encoded format
        2. 1.3.3.2. File uploads with POST
      4. 1.3.4. PUT: Store the Entity-Body at the URL
      5. 1.3.5. DELETE: Remove URL
      6. 1.3.6. TRACE: View the Client’s Message Through the Request Chain
      7. 1.3.7. OPTIONS: Request Other Options Available for the URL
      8. 1.3.8. CONNECT: Proxy Access to Secure Web Servers
    4. 1.4. Server Response Codes
      1. 1.4.1. Informational (100 Range)
      2. 1.4.2. Client Request Successful (200 Range)
      3. 1.4.3. Redirection (300 Range)
      4. 1.4.4. Client Request Incomplete (400 Range)
      5. 1.4.5. Server Error (500 Range)
    5. 1.5. Headers
      1. 1.5.1. General Headers
      2. 1.5.2. Client Request Headers
      3. 1.5.3. Server Response Headers
      4. 1.5.4. Entity Headers
      5. 1.5.5. Summary of Support Across HTTP Versions
        1. 1.5.5.1. HTTP 0.9
        2. 1.5.5.2. HTTP 1.0
        3. 1.5.5.3. HTTP 1.1
    6. 1.6. URL Encoding
    7. 1.7. Client and Server Identification
    8. 1.8. Referring Documents
    9. 1.9. Retrieving Content
      1. 1.9.1. Byte Ranges
    10. 1.10. Media Types
    11. 1.11. Cookies
    12. 1.12. Authorization
    13. 1.13. Persistent Connections
    14. 1.14. Client Caching
      1. 1.14.1. If-Modified-Since
      2. 1.14.2. Entity Tags
  2. About the Author
  3. Copyright
18.119.131.72