• Complain

Clinton Wong - HTTP Pocket Reference: Hypertext Transfer Protocol

Here you can read online Clinton Wong - HTTP Pocket Reference: Hypertext Transfer Protocol full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2000, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Clinton Wong HTTP Pocket Reference: Hypertext Transfer Protocol
  • Book:
    HTTP Pocket Reference: Hypertext Transfer Protocol
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2000
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

HTTP Pocket Reference: Hypertext Transfer Protocol: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "HTTP Pocket Reference: Hypertext Transfer Protocol" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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.

Clinton Wong: author's other books


Who wrote HTTP Pocket Reference: Hypertext Transfer Protocol? Find out the surname, the name of the author of the book and a list of all author's works by series.

HTTP Pocket Reference: Hypertext Transfer Protocol — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "HTTP Pocket Reference: Hypertext Transfer Protocol" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Starting PageTable of ContentFront MatterChapter 1. HTTP Pocket Reference1.1 What Is HTTP?1.2 HTTP Transactions1.3 Client Methods1.4 Server Response Codes1.5 Headers1.6 URL Encoding1.7 Client and Server Identification1.8 Referring Documents1.9 Retrieving Content1.10 Media Types1.11 Cookies1.12 Authorization1.13 Persistent Connections1.14 Client Caching
Chapter1. HTTP Pocket Reference

This book describes HTTP, the Hypertext Transfer Protocol. Itprovides a high level description of how the protocol works, alongwith reference information on client requests and server responses.Included are dumps of HTTP transactions, as well as tabular data thatsummarizes most of the standardized parameters used in HTTP.

The HTTP Pocket Reference is intended for system administrators, website developers, and software engineers. With an understanding ofHTTP, system administrators will have a better understanding of website configuration and debugging. Web site designers can implementservices that make better use of the protocol and streamline webclient and server interaction. Software engineers who need toimplement HTTP will find this book useful for its short, concisedescription of the protocol.

HTTP Pocket Reference Copyright 2000 OReilly Associates Inc All rights - photo 1

HTTP Pocket Reference

Copyright 2000 O'Reilly & Associates, Inc. All rights reserved.

Printed in the United States of America.

Published by O'Reilly & Associates, Inc., 101 Morris Street,Sebastopol, CA 95472.

The O'Reilly logo is a registered trademark of O'Reilly &Associates, Inc. Many of the designations used by manufacturers andsellers to distinguish their products are claimed as trademarks.Where those designations appear in this book, and O'Reilly &Associates, Inc. was aware of a trademark claim, the designations havebeen printed in caps or initial caps. The use of the ground squirrelimage in association with HTTP is a trademark of O'Reilly &Associates, Inc.

While every precaution has been taken in the preparation of thisbook, the publisher assumes no responsibility for errors or omissions,or for damages resulting from the use of the information containedherein.

1.8Referring Documents

The Referer header indicates which document referred to the one currentlyspecified in this request. This helps the server keep track ofdocuments that refer to malformed or missing locations on the server.

For example, if the client opens a connection towww.ora.com at port 80 and sends:

GET /contact.html HTTP/1.1Host: www.ora.com

The server may respond with:

HTTP/1.1 200 OKDate: Tue, 04 Apr 2000 02:22:47 GMTLast-Modified: Sat, 18 Mar 2000 17:18:22 GMTETag: "134e8-b2a-38d3ba5e"Accept-Ranges: bytesContent-Length: 2858Connection: closeContent-type: text/html
Contact Information
Sales Department

The user clicks on the hyperlink and the client requestssales.html fromsales.ora.com, specifying that it was sent therefrom the /contact.html document onwww.ora.com:

GET /sales.html HTTP/1.1Host: sales.ora.comReferer: http://www.ora.com/contact.html
1.9Retrieving Content

The Content-length headerspecifies the length of the data (in bytes) that is returned by theserver. Due to the dynamic nature of some requests, the Content-length is sometimes unknown, and thisheader might be omitted.

There are three common ways that a client can retrieve data from theentity-body of the server's response:

  • The first method involves retrieving the size of the document fromthe Content-length header, and then reading inthat much data from the network connection. Using this method, theclient knows the size of the document before retrieving it.

  • In other cases, when the size of the document is too dynamic for aserver to predict, the Content-length header isomitted. When this happens, the client reads in the data portion ofthe server's response until the server disconnects the networkconnection. This practice is obsolete and only works in HTTP 1.0. Forgenerating data without knowing the total message length in advance,the next method is recommended.

  • Another header could indicate when an entity-body ends, like HTTP1.1's Transfer-Encoding header with the chunked parameter.

1.9.1Byte Ranges

In HTTP 1.1, the client does not have to retrieve the entireentity-body at once, but can get it in pieces, if the server allowsit to do so. If the server declares that it supports byte rangesusing the Accept-Ranges header:

HTTP/1.1 200 OK[Other headers here]Accept-Ranges: bytes

The client can then request the data in pieces. For example:

GET /largefile.html HTTP/1.1[Other headers here]Range: 0-65535

When the server returns the specified range, it includes a Content-range headerto indicate which portion of the document is being sent, and also totell the client how long the file is:

HTTP/1.1 200 OK[Other headers here]Content-range: 0-65535/83028576

For caching purposes, a client can use the If-Range header alongwith Range to request an updated portion of thedocument only if the document has been changed. Here is an example:

GET /largefile.html HTTP/1.1[Other headers here]If-Range: Mon, 02 May 1996 04:51:00 GMTRange: 0-65535

The If-Range header can use either a last modifieddate or an entity tag to verify that the document is still the same.

1.10Media Types

One of the most important functions of headersis to make it possible for the recipient of the data to know whatkind of data it is receiving, and thus be able to process itappropriately. If the client didn't know that the data returnedby the server was a GIF image, it wouldn't know how to renderit on the screen. If it didn't know that some other data was anaudio snippet, it wouldn't know to call up an external helperapplication. For negotiating different data types, HTTP incorporatedInternet Media Types, which look a lot like MIME types but are notexactly MIME types.

The client tells the server which media types it can handle, usingthe Accept header. The server tries to returninformation in one of the client's preferred media types, anddeclares the type of the data using the Content-type header.

The Accept header is used to specify theclient's preference for media formats, or to tell the serverthat it can accept unusual document types. If this header is omitted,the server assumes that the client can accept any media type. The Accept header can have three general forms:

Accept: */*Accept: type /*Accept: type/subtype

Using the first form, */* , indicates that theclient can accept an entity-body of any media type. The second form, type/* , communicates that an entity-bodyof a certain general class is acceptable. A client may issue an Accept: image/* to accept images, where the typeof image (GIF, JPEG, or whatever) is not important. The third formindicates that an entity-body from a certain type and subtype isacceptable. For example, a browser that can only accept GIF files mayuse Accept: image/gif .

Copyright Table of Contents Full Description About the Author Colophon Reader - photo 2
Copyright
Table of Contents
Full Description
About the Author
Colophon
Reader reviews
Errata

HTTP Pocket Reference

ClintonWong Publisher: O'Reilly First Edition May 2000
ISBN: 1-56592-862-8, 80 pages

Picture 3


All web programmers, administrators, and application developers need to be familiar with HTTP in order to work effectively. The HTTP Pocket Reference provides a solid conceptual foundation of HTTP, and also serves as a quick reference to each of the headers and status codes that compose an HTTP transaction. For those who need to get "beyond the browser," this book is the place to start.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «HTTP Pocket Reference: Hypertext Transfer Protocol»

Look at similar books to HTTP Pocket Reference: Hypertext Transfer Protocol. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «HTTP Pocket Reference: Hypertext Transfer Protocol»

Discussion, reviews of the book HTTP Pocket Reference: Hypertext Transfer Protocol and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.