start | find | index | login or register | edit
2006-05-07
by earl, 6789 days ago
Maybe you saw the "we'll be back soon!" page yesterday? Well, here's the script that was actually serving the page:

response: rejoin [
"HTTP/1.0 503 Service Unavailable" crlf
"Content-type: text/plain" crlf
crlf
"server down for maintenance, we'll be back soon! "
"[503 service unavailable]" crlf
]

s: open/binary/direct tcp://:80
forever [
attempt [wait s c: first s insert c response close c prin "."]
]

don't you love the simplicity of HTTP, REBOL? over 10k requests served.
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8685 days • c'est un vanilla site