|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Content-Length (was Re: Banner)
From: Greg Hudson (ghudson
MIT.EDU)Date: Wed Jun 21 2000 - 16:18:13 CDT
- Next message: Thomas Roessler: "Re: Content-Length (was Re: Banner)"
- Previous message: Wietse Venema: "Re: Content-Length (was Re: Banner)"
- In reply to: Wietse Venema: "Re: Content-Length (was Re: Banner)"
- Next in thread: Tin Le: "Re: Content-Length (was Re: Banner)"
- Next in thread: Liviu Daia: "Re: Content-Length (was Re: Banner)"
- Next in thread: Thomas Roessler: "Re: Content-Length (was Re: Banner)"
- Next in thread: Wietse Venema: "Re: Content-Length (was Re: Banner)"
- Reply: Greg Hudson: "Re: Content-Length (was Re: Banner)"
- Reply: Tin Le: "Re: Content-Length (was Re: Banner)"
- Reply: Liviu Daia: "Re: Content-Length (was Re: Banner)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Liviu Daia wrote:
> On a second thought, there's also another way to look at it: in
> MIME-related legalese, the body of a message is an attachment, and
> "Content-Length" is an attribute of that attachment.
Content-Length is an HTTP invention, copied in SIP and probably some
other protocols. You won't find it in RFC 2045-2049. Applying
Content-Length to mail would seem like a mistake.
Wietse wrote:
> You lost me. How can a sender know the exact number of bytes of mail
> that is stored on a different machine, or does the count assume that
> everyone everywhere stores mail as CRLF delimited text? What about
> the Contrl-Z at the end? :-)
In HTTP, Content-Length refers to the length of the content in the TCP
stream ("anything after this many bytes is a new HTTP request") and
makes no statement about the length of the content when stored in a
file by any particular implementation.
- Next message: Thomas Roessler: "Re: Content-Length (was Re: Banner)"
- Previous message: Wietse Venema: "Re: Content-Length (was Re: Banner)"
- In reply to: Wietse Venema: "Re: Content-Length (was Re: Banner)"
- Next in thread: Tin Le: "Re: Content-Length (was Re: Banner)"
- Next in thread: Liviu Daia: "Re: Content-Length (was Re: Banner)"
- Next in thread: Thomas Roessler: "Re: Content-Length (was Re: Banner)"
- Next in thread: Wietse Venema: "Re: Content-Length (was Re: Banner)"
- Reply: Greg Hudson: "Re: Content-Length (was Re: Banner)"
- Reply: Tin Le: "Re: Content-Length (was Re: Banner)"
- Reply: Liviu Daia: "Re: Content-Length (was Re: Banner)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]