Re: holding connections open: a modest proposal

Roy T. Fielding (fielding@avron.ICS.UCI.EDU)
Mon, 19 Sep 1994 15:11:43 +0200

> Stealing from PostScript, where the same situation applies (with the Bounding
> Box) when programs are generating the file and writing as they go:
> [stuff]
> Content-Transfer-Encoding: binary
> Content-Length: (atend)
> [lots of stuff]
> Content-Length: 12345678

;-) I think you are mixing paradigms here...

PostScript can use the (atend) marker because it has an implicit separator
which marks where "end" is. The effect is similar to the MIME boundary
separator, though for a different purpose.

> Yes I know this raises other problems, it was just a suggestion.
> Does the program parsing MIME have to know the length at the beginning?

Yes, because what it needs to know is where the end is BEFORE it gets there
(i.e. the Content-Length is used to determine where the message content ends).
Knowing how long the message is AFTER it's been processed is not very useful.

.....Roy Fielding ICS Grad Student, University of California, Irvine USA