I wanted to write a quick http server, mostly just to learn rev.
It was very easy, and I am happy so far, but I have a mystery I hope
someone can help me with.
My code is here: http://www.mediafire.com/?jbldjj0ogck
It seems that when I write the data back out to to the socket, runrev
adds a http header on its own, and I cant add the one I want.
Really weird.
When I have it execute this perl script, you can see the problem:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<tt>\n";
foreach $key (sort keys(%ENV)) {
print "$key = $ENV{$key}<p>";
}
Also, I am open to advice on my coding, but please if it is bashing
me, send that directly to me at [EMAIL PROTECTED]
Thanks
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution