blank.gif (43 bytes)

Church Of The
Swimming Elephant

19.4.6 Introduction of Transfer-Encoding Connected: An Internet Encyclopedia
19.4.6 Introduction of Transfer-Encoding

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 2068
Up: 19 Appendices
Up: 19.4 Differences Between HTTP Entities and MIME Entities
Prev: 19.4.5 HTTP Header Fields in Multipart Body-Parts
Next: 19.4.7 MIME-Version

19.4.6 Introduction of Transfer-Encoding

19.4.6 Introduction of Transfer-Encoding

HTTP/1.1 introduces the Transfer-Encoding header field (section 14.40). Proxies/gateways MUST remove any transfer coding prior to forwarding a message via a MIME-compliant protocol.

A process for decoding the "chunked" transfer coding (section 3.6) can be represented in pseudo-code as:

          length := 0
          read chunk-size, chunk-ext (if any) and CRLF
          while (chunk-size > 0) {
             read chunk-data and CRLF
             append chunk-data to entity-body
             length := length + chunk-size
             read chunk-size and CRLF
          read entity-header
          while (entity-header not empty) {
             append entity-header to existing header fields
             read entity-header
          Content-Length := length
          Remove "chunked" from Transfer-Encoding

Next: 19.4.7 MIME-Version

Connected: An Internet Encyclopedia
19.4.6 Introduction of Transfer-Encoding


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609