> From: LiangTyan Fui <[EMAIL PROTECTED]>
> not many http server returns the "Content-Length" header
...
> One wonders why bother writing standards...

The standard specifies actually two methods: Either you specify the 
content length, or for streamed contents you simply write your stuff out 
until you are finished and close the connection. Most CGIs use that, 
because it is easier to implement... you don't have to bother about 
counting the number of bytes you'll want to send before you send the first 
byte.

The content can be chunked, too, but that is really an exception and 
you'll hardly have to deal with it as long as you don't have really large 
data blobs.

Regards
  Rüdiger
______________________________________________________________
GINIT Technology GmbH   [EMAIL PROTECTED]
Ruediger zu Dohna               phone:        +49-721-96681-0
Emmy-Noether-Str. 11            fax:          +49-721-96681-11
D-76131 Karlsruhe               http://www.ginit-technology.de
______________________________________________________________

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to