[Oberon] BlueBottle: rebuild CD image; POST

frey at inf.ethz.ch frey at inf.ethz.ch
Tue Nov 19 09:45:59 CET 2002


> Somehow I had thought years ago that the Oberon
> zip files were a custom format.
.Arc is a custom format. That's why we switched to .zip (and
to take advantage of the better compression).

> I'm not sure that I see evidence that the output is chunked, but I
> assume that it is supposed to be.  So this is clearly a trouble area
> in my sample code.
In your code, you open a ChunkedOutStream with the line

				NEW(chunker, w, out, request, reply);
				
The creation of the chunker automatically fills in the transfer encoding in the reply header.
But you missed to write the reply header at all. So to correct this problem, add

				WebHTTP.SendReplyHeader(reply, out);
				
before using the chunked stream the first time.

FYI: Some current projects with the Web-Server:
 - IMAP - Webaccess (almost finished, code upon request)
 - Session Management/Dynamic Web (XHTML) Pages (more flexible than SSMP)
 - https
 - Teletext Web-Service
 




More information about the Oberon mailing list