logo资料库

HTTP Developer's Handbook开发手册英文.pdf

第1页 / 共407页
第2页 / 共407页
第3页 / 共407页
第4页 / 共407页
第5页 / 共407页
第6页 / 共407页
第7页 / 共407页
第8页 / 共407页
资料共407页,剩余部分请下载后查看
Main Page
Table of content
Copyright
About the Author
Acknowledgments
We Want to Hear from You!
Reader Services
Introduction
Why This Book?
Advantages of Understanding HTTP
The Growing Importance of HTTP
Audience for This Book
Organization of This Book
Conventions Used in This Book
Other Sources of Information
Part I: Introducing HTTP
Chapter 1. What Is HTTP?
Brief History and Purpose of HTTP
Summary
Chapter 2. The Internet and the World Wide Web
The Internet
The World Wide Web
Networking Protocols
Uniform Resource Identifiers
Formatting Information with HTML
Clients and Servers
Summary
Chapter 3. HTTP Transactions
Connections
Summary
Chapter 4. Using HTTP
Web Servers and Clients
Debugging Web Applications
Improving Performance
Analyzing Security
Summary
Part II: HTTP Definition
Chapter 5. HTTP Requests
Request Syntax
Request Methods
Request Headers
Summary
Chapter 6. HTTP Responses
Response Syntax
Response Status Codes
Response Headers
Summary
Chapter 7. General Headers
Cache-Control
Connection
Date
Pragma
Keep-Alive
Trailer
Transfer-Encoding
Upgrade
Via
Warning
Summary
Chapter 8. Entity Headers
Allow
Content-Encoding
Content-Language
Content-Length
Content-Location
Content-MD5
Content-Range
Content-Type
Expires
Last-Modified
Summary
Chapter 9. Formatting Specifications
Line Termination
Header Formatting
Date Formats
URL Encoding
Summary
Chapter 10. Media Types
Media Type Format
Media Type Categories
Practical Implementations
Content-Disposition
Summary
Part III: Maintaining State
Chapter 11. HTTP State Management with Cookies
Authentication, Identification, and Client Data
What Is Statelessness?
Using Cookies to Associate Transactions
Restricting Access with Cookie Attributes
Privacy and Security Concerns with Cookies
Summary
Chapter 12. Other Methods of State Management
Utilizing Form Variables
Using URL Variables
Combinations
Sample State-Management Mechanism
Summary
Chapter 13. Maintaining Client Data
Where Should Client Data Be Stored?
Session-Only Data
Persistent Data
Sample Session Management Mechanism
Summary
Part IV: Performance
Chapter 14. Leveraging HTTP to Enhance Performance
Caching Overview
Controlling Caching with HTTP
Managing Connections
Compression
Range Requests
Chunked Transfers
Summary
Chapter 15. Introduction to Caching Protocols
Internet Cache Protocol (ICP)
Cache Digest Protocol
Cache Array Resolution Protocol
Web Cache Coordination Protocol
Summary
Chapter 16. Load Distribution
Transactional Versus Computational Load
Distributing Transactional Load
Distributing Computational Load
Summary
Part V: Security
Chapter 17. Authentication with HTTP
Basic Authentication
Digest Authentication
Summary
Chapter 18. Secure Sockets Layer
Symmetric Cryptography
Asymmetric Cryptography
Certificate Authorities
Applying Cryptography to HTTP
Virtual Hosting
SSL Acceleration
Summary
Chapter 19. Transport Layer Security
Summary
Chapter 20. Secure HTTP
Secure HTTP Requests
Secure HTTP Responses
Initiating a Secure HTTP Transaction
Cryptographic Message Syntax
Summary
Chapter 21. Intelligent Architecture
Hardware Architecture
Software Architecture
Summary
Chapter 22. Programming Practices
Never Trust Data from the Client
Never Depend on Security Through Obscurity
Only Grant Necessary Privileges
Always Use the Simplest Solution
Always Protect Sensitive Data
Summary
Chapter 23. Common Attacks and Solutions
Presentation Attacks
Cross-Site Attacks
Denial of Service
Exposure
Summary
Part VI: Evolution of HTTP
Chapter 24. Standards Organizations
World Wide Web Consortium
Internet Engineering Task Force
Summary
Chapter 25. The Future of HTTP
SOAP and Web Services
WebDAV
P3P
Summary
Index
Index SYMBOL
Index A
Index B
Index C
Index D
Index E
Index F
Index G
Index H
Index I
Index K
Index L
Index M
Index N
Index O
Index P
Index Q
Index R
Index S
Index T
Index U
Index V
Index W
Index X
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks [ Team LiB ] • Table of Contents Index • HTTP Developer's Handbook By Chris Shiflett Publisher Pub Date ISBN Pages : Sams Publishing : March 21, 2003 : 0-672-32454-7 : 312 HTTP is the protocol that powers the Web. As Web applications become more sophisticated, and as emerging technologies continue to rely heavily on HTTP, understanding this protocol is becoming more and more essential for professional Web developers. By learning HTTP protocol, Web developers gain a deeper understanding of the Web's architecture and can create even better Web applications that are more reliable, faster, and more secure. The HTTP Developer's Handbook is written specifically for Web developers. It begins by introducing the protocol and explaining it in a straightforward manner. It then illustrates how to leverage this information to improve applications. Extensive information and examples are given covering a wide variety of issues, such as state and session management, caching, SSL, software architecture, and application security. [ Team LiB ]
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks. [ Team LiB ] • Table of Contents Index • HTTP Developer's Handbook By Chris Shiflett Publisher Pub Date ISBN Pages : Sams Publishing : March 21, 2003 : 0-672-32454-7 : 312 Copyright About the Author Acknowledgments We Want to Hear from You! Reader Services Introduction Why This Book? Advantages of Understanding HTTP The Growing Importance of HTTP Audience for This Book Organization of This Book Conventions Used in This Book Other Sources of Information Part I: Introducing HTTP Chapter 1. What Is HTTP? Brief History and Purpose of HTTP Summary Chapter 2. The Internet and the World Wide Web The Internet The World Wide Web Networking Protocols Uniform Resource Identifiers Formatting Information with HTML Clients and Servers
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks . Summary Chapter 3. HTTP Transactions Connections Summary Chapter 4. Using HTTP Web Servers and Clients Debugging Web Applications Improving Performance Analyzing Security Summary Part II: HTTP Definition Chapter 5. HTTP Requests Request Syntax Request Methods Request Headers Summary Chapter 6. HTTP Responses Response Syntax Response Status Codes Response Headers Summary Chapter 7. General Headers Cache-Control Connection Date Pragma Keep-Alive Trailer Transfer-Encoding Upgrade Via Warning Summary Chapter 8. Entity Headers Allow Content-Encoding Content-Language Content-Length Content-Location Content-MD5 Content-Range Content-Type Expires Last-Modified Summary
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks. Chapter 9. Formatting Specifications Line Termination Header Formatting Date Formats URL Encoding Summary Chapter 10. Media Types Media Type Format Media Type Categories Practical Implementations Content-Disposition Summary Part III: Maintaining State Chapter 11. HTTP State Management with Cookies Authentication, Identification, and Client Data What Is Statelessness? Using Cookies to Associate Transactions Restricting Access with Cookie Attributes Privacy and Security Concerns with Cookies Summary Chapter 12. Other Methods of State Management Utilizing Form Variables Using URL Variables Combinations Sample State-Management Mechanism Summary Chapter 13. Maintaining Client Data Where Should Client Data Be Stored? Session-Only Data Persistent Data Sample Session Management Mechanism Summary Part IV: Performance Chapter 14. Leveraging HTTP to Enhance Performance Caching Overview Controlling Caching with HTTP Managing Connections Compression Range Requests Chunked Transfers Summary Chapter 15. Introduction to Caching Protocols Internet Cache Protocol (ICP) Cache Digest Protocol Cache Array Resolution Protocol
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks. Web Cache Coordination Protocol Summary Chapter 16. Load Distribution Transactional Versus Computational Load Distributing Transactional Load Distributing Computational Load Summary Part V: Security Chapter 17. Authentication with HTTP Basic Authentication Digest Authentication Summary Chapter 18. Secure Sockets Layer Symmetric Cryptography Asymmetric Cryptography Certificate Authorities Applying Cryptography to HTTP Virtual Hosting SSL Acceleration Summary Chapter 19. Transport Layer Security Summary Chapter 20. Secure HTTP Secure HTTP Requests Secure HTTP Responses Initiating a Secure HTTP Transaction Cryptographic Message Syntax Summary Chapter 21. Intelligent Architecture Hardware Architecture Software Architecture Summary Chapter 22. Programming Practices Never Trust Data from the Client Never Depend on Security Through Obscurity Only Grant Necessary Privileges Always Use the Simplest Solution Always Protect Sensitive Data Summary Chapter 23. Common Attacks and Solutions Presentation Attacks Cross-Site Attacks Denial of Service Exposure
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks Summary Part VI: Evolution of HTTP Chapter 24. Standards Organizations World Wide Web Consortium Internet Engineering Task Force Summary Chapter 25. The Future of HTTP SOAP and Web Services WebDAV P3P Summary Index [ Team LiB ]
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks . [ Team LiB ] Copyright Copyright © 2003 by Chris Shiflett All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. Library of Congress Catalog Card Number: 2002107936 Printed in the United States of America First Printing: February 2003 06 05 04 03 4 3 2 1 Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the CD or programs accompanying it. Credits Acquisitions Editor Katie Purdum Development Editor Scott Meyers Managing Editor
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks Charlotte Clapp Project Editor Andy Beaster Copy Editor Kezia Endsley Indexer Kelly Castell Proofreader Kevin Ober Technical Editor Geoffrey Young Team Coordinator Lynne Williams Media Developer Dan Scherf Interior Designer Gary Adair Cover Designer Alan Clements Dedication To Christina, for her love and support. [ Team LiB ]
分享到:
收藏