*Sigh*

Finally, fyi, Rebol is satisfied with this header:

alias sendheader {
  sockwrite $1 HTTP/1.1 200 OK  $crlf
  sockwrite $1 Date: $date(dddd) $+ , $date(mmm)  $date(d) $+ , $date(yyyy)
$crlf
  sockwrite $1 Server: Kat v1.0 on mIRC v5.51 $crlf
  sockwrite $1 Content-Location: %httpd.dirlist. [ $+ [ %sockname ] ] $crlf
  sockwrite $1 Content-Type: text/html $crlf
  sockwrite $1 $crlf
 }

( $1 is the socketname i passed to the routine. )

I think all the $crlf is what made it palatable to Rebol, but i don't care
to continue experimenting with it. It sure would have saved some time had
someone who worked at Rebol jumped in and said what Rebol required. Or a way
to tell Rebol to not require the header, and to be compatable with IE5 and
etc..

Kat

Reply via email to